This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC2307 accounts


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]