This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: RFC2307 accounts
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Marc Rechte <mrechte at studelec-sa dot com>, cygwin at cygwin dot com
- Date: Thu, 10 Mar 2016 01:01:02 +0300
- Subject: Re: RFC2307 accounts
- Authentication-results: sourceware.org; auth=none
- References: <56DFCC21 dot 8070506 at studelec-sa dot com> <56DFE973 dot 2070406 at maxrnd dot com> <56DFFE26 dot 9080705 at studelec-sa dot com> <20160309112750 dot GA14733 at calimero dot vinschen dot de> <56E00DF7 dot 7060406 at studelec-sa dot com>
- Reply-to: cygwin at cygwin dot com
Greetings, Marc Rechte!
> OK, I noticed that. Now it brings me a problem using rsync on cygwin.
> On cygwin:
> $ cat /etc/rsyncd.conf
> [test]
> path = /cygdrive/c/tmp
> comment = zone de test
> fake super = yes
> read only = no
> On the Linux box:
> # ls -l /home/tunix/
> ...
> drwxr-xr-x 3 tunix root 4096 9 mars 12:23 resto_win
> -rw-rw-r--+ 1 tunix utilisateurs_du_domaine 82882 9 mars 10:56 tmp.ps
> # rsync -avz --acls --delete /home rsync://192.168.0.23/test
> ..
> # rsync -avz --acls --delete rsync://192.168.0.23/test/home/tunix resto_win/
> ...
> # ls -l /home/tunix/resto_win/tunix/
> ...
> drwx------ 2 1050005 1049089 4096 9 mars 12:14 resto_win
> -rw------- 1 1050005 1049089 82882 9 mars 10:56 tmp.ps
> You will notice that owner, group and ACLs are *not* restored properly
> Am I demanding too much to cygwin ?
No, you're demanding too much of rsync, which wasn't built with sane
permission system in mind.
Use SSH or direct (cifs) copying. Then the names will match.
Your problem is that you expect Cygwin to be *NIX, but in fact, it isn't. It
is a Windows application, and it follows Windows permission model. (Which,
IMO, is saner, than POSIX one.)
--
With best regards,
Andrey Repin
Thursday, March 10, 2016 00:58:07
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple