On Fri, 2007-12-07 at 12:35 +0530, [EMAIL PROTECTED] wrote:
> Curiously, whatever be the file permission it masks the group and
> users to 00 and retains the perm for owner.

> However, If we add the -p bit to rsync, it's retaining the
> permissions.

This is strong evidence that the umask seen by the receiving rsync
process may not be what you expect.  To find out what the umask is, run
something like:

ssh [EMAIL PROTECTED] umask

It might also be helpful to strace the receiving rsync by passing
--rsync-path="strace -f -o /tmp/rsync.log rsync" .

Matt

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to