On Fri, 2009-11-27 at 11:38 -0600, Chris Adams wrote:
> rsync --stats -v -axH --inplace --delete --rsync-path="rsync --fake-super" / 
> u...@remote:/backup/root/

> My problem is that there is a local directory that has permissions 0111
> ("d--x--x--x"), and rsync throws an error trying to set the xattr:
> 
> rsync: failed to read xattr user.rsync.%stat for 
> "/roach/backup/root/tcb/lib": Permission denied (13)
> 
> It appears that rsync knows to create remote files with u+rw, but not
> directories.  Is this a bug, or am I missing something?

Yes, it's a bug.  The fake-super code does add u+rwx to directories, but
then the directory-retouching code wrongly activates and sets the
permissions back to what they were.  Patch forthcoming...

-- 
Matt

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
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