rsync and chmoding permissions on Windows

Tevfik Karagülle tevfik at itefix.no
Wed Jun 28 13:31:55 GMT 2006


The last version of cwRsync contains rsync binaries with acl support. May be
worth to try.

cwRsync FAQ at
http://www.itefix.no/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=54 can
also give some clues.

Rgrds Tev

> -----Original Message-----
> From: rsync-bounces+tevfik=itefix.no at lists.samba.org 
> [mailto:rsync-bounces+tevfik=itefix.no at lists.samba.org] On 
> Behalf Of Stuart Halliday
> Sent: Wednesday, June 28, 2006 3:13 PM
> To: rsync at lists.samba.org
> Subject: rsync and chmoding permissions on Windows
> 
> I'm trying to use rsync to keep the permissions between two 
> Windows servers.
> 
> A windows NT 4 server (with rsync daemon) and windows 2003 R2
> 
> I use Rsync in a batch file and I run it as Administrator by 
> double clicking on it.
> 
> Typically:
> 
> set cygwin=notnsec
> rsync -rpDPo --chmod=Du+rwx,Fu+rwx,+X 
> 
> and the files are crossed over but the permissions are screwed up.
> 
> Now, I can't find out the exact syntax for the Rsync --chmod= command.
> Documents for using it on Windows are not good.
> 
> Normal 'chmod' I know. 
> 
> the D and F refer to the directory or file? But what is the +X doing?
> 
> Google can't search for 'chmod=' so I'm stumped.
> 
> The permissions I'm getting set is that the directory I've 
> copied has Administrator ACLs set to  'special permissions' 
> and not full control!
> 
> Can some kind person put me out of my misery.
> 
> 
> --
> Stuart Halliday
> ECS Technology ltd
> Registered in Scotland - #212513 
> 
> 
> -- 
> To unsubscribe or change options: 
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: 
> http://www.catb.org/~esr/faqs/smart-questions.html
> 




More information about the rsync mailing list