https://bugzilla.samba.org/show_bug.cgi?id=7424
Summary: -x with sshfs Product: rsync Version: 3.0.7 Platform: x64 OS/Version: Linux Status: NEW Severity: minor Priority: P3 Component: core AssignedTo: way...@samba.org ReportedBy: b...@dotcommie.net QAContact: rsync...@samba.org When rsyncing a directory with a sshfs mount point causes rsync to exit with code 23. If sshfs is mounted as unprivileged user and rsync is started as the same user then there are no problems. However if rsync is run as root it gets a Permission denied while reading mount point. In an attempt to force rsync to skip this mount used -x option but did not help. Not quite sure if this is a problem of sshfs/fuse or rsync. /tmp/rsyncTest$ mkdir source /tmp/rsyncTest$ echo "hello World" >> source/1 /tmp/rsyncTest$ mkdir source/sshfsMount /tmp/rsyncTest$ sshfs anotherMachine:/some/dir source/sshfsMount/ /tmp/rsyncTest$ su - /tmp/rsyncTest# cd /tmp/rsyncTest /tmp/rsyncTest# rsync -avz source destination sending incremental file list rsync: readlink_stat("/tmp/rsyncTest/source/sshfsMount") failed: Permission denied (13) created directory destination source/ source/1 sent 131 bytes received 35 bytes 332.00 bytes/sec total size is 12 speedup is 0.07 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7] /tmp/rsyncTest# echo $? 23 /tmp/rsyncTest# rsync -avzx source destination sending incremental file list rsync: readlink_stat("/tmp/rsyncTest/source/sshfsMount") failed: Permission denied (13) sent 76 bytes received 13 bytes 178.00 bytes/sec total size is 12 speedup is 0.13 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7] /tmp/rsyncTest# echo $? 23 $ rsync --version rsync version 3.0.7 protocol version 30 Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others. Web site: http://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace, append, ACLs, xattrs, iconv, symtimes rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. -- 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