[PATCH] Don't (wrongly) retouch dir permissions with --fake-super.
Chris Adams
cmadams at hiwaay.net
Sun Nov 29 18:26:33 MST 2009
Once upon a time, Matt McCutchen <matt at mattmccutchen.net> said:
> ---
> generator.c | 7 +++++--
> 1 files changed, 5 insertions(+), 2 deletions(-)
Hmm, I've applied this patch on both sides, but I'm still getting the
same error. Is this because I'm using fake-super only on one side?
# rsync -v -axH --delete --rsync-path='rsync --fake-super' / user at remote:/dest/backup/new/root/
sending incremental file list
proc/
rsync: failed to read xattr user.rsync.%stat for "/dest/backup/new/root/tcb/lib": Permission denied (13)
rsync: failed to read xattr user.rsync.%stat for "/dest/backup/new/root/tcb/lib": Permission denied (13)
rsync: failed to read xattr user.rsync.%stat for "/dest/backup/new/root/tcb/lib": Permission denied (13)
tcb/lib/
rsync: failed to read xattr user.rsync.%stat for "/dest/backup/new/root/tcb/lib": Permission denied (13)
rsync: failed to read xattr user.rsync.%stat for "/dest/backup/new/root/tcb/lib": Permission denied (13)
sent 50682 bytes received 561 bytes 20497.20 bytes/sec
total size is 73719753 speedup is 1438.63
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
# ls -ld /tcb/lib
d--x--x--x 2 bin bin 8192 Aug 20 2003 /tcb/lib/
# ssh user at remote 'ls -ld /dest/backup/new/root/tcb/lib'
d--x--x--x 2 user users 4096 Aug 20 2003 /dest/backup/new/root/tcb/lib
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
More information about the rsync
mailing list