I'm trying to set up a full server backup using rsync 3.0.6.  I'm using
--fake-super, and SSH keys to access a remote server as a normal user.

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?

The full command I'm using is:

rsync --stats -v -axH --inplace --delete --rsync-path="rsync --fake-super" / 
u...@remote:/backup/root/

I have to put --fake-super in the remote command only, because the
system I'm backing up doesn't support extended attributes.
-- 
Chris Adams <cmad...@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
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