Hello all, This is my first post to the group, so please go easy on me. I've setup a cwRsync server on a Windows 2003 Server and an XP client. I have setup rsync to copy a directory from the server to the client, and the files transfer perfectly. The only problem is that the permissions on the destination are wrong. I want the permissions on the destination to end up being the default permissions as if I was creating the files as the local user on the destination. Right now, the permissions end up being a cross between the permissions from the source and the default local permissions: Domain Users: Read Everyone: Read Local User: Read+Write I've tried the "-nop" option, but there was no change. Here is my rsync command line: rsync -trvzh --stats --progress --delete --log-file=/cygdrive/c/AliCopyLog.txt dcserver::AliData /cygdrive/c/hoss/data/ Also, the same issue affects the local log file "AliCopyLog.txt". This file gets the same permissions as above when created, where I would like it to have the default permissions. Any help would be greatly appreciated. I am definitely Unix-challenged, but am very Windows Server knowledgeable. Thanks, Robert -------------- next part -------------- HTML attachment scrubbed and removed
On Wednesday 28 March 2007 19:54, Robert Ramin wrote: <snip>> I want the permissions on the > destination to end up being the default permissions as if I was creating > the files as the local user on the destination. Right now, the > permissions end up being a cross between the permissions from the source > and the default local permissions:Not a direct answer to your question, but have you tried the suggestions in the following? http://www.itefix.no/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=12 http://www.itefix.no/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=54 Cheers -A
Thanks for your reply. Your first link answered my question. I needed to set the CYGWIN variable to nontsec. Thanks for your help. Robert -----Original Message----- From: Alexandros Papadopoulos [mailto:apapadop@alumni.cmu.edu] Sent: Wednesday, March 28, 2007 12:08 PM To: rsync@lists.samba.org Subject: Re: Destination Permissions on Windows XP On Wednesday 28 March 2007 19:54, Robert Ramin wrote: <snip>> I want the permissions on the > destination to end up being the default permissions as if I wascreating> the files as the local user on the destination. Right now, the > permissions end up being a cross between the permissions from thesource> and the default local permissions:Not a direct answer to your question, but have you tried the suggestions in the following? http://www.itefix.no/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=12 http://www.itefix.no/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=54 Cheers -A