samba-bugs at samba.org
2011-Feb-11 05:04 UTC
DO NOT REPLY [Bug 7953] New: -x flag prevents symlink on source filesystem from overwriting dest dir
https://bugzilla.samba.org/show_bug.cgi?id=7953 Summary: -x flag prevents symlink on source filesystem from overwriting dest dir Product: rsync Version: 3.0.7 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned at samba.org ReportedBy: bhall at wetafx.co.nz QAContact: rsync-qa at samba.org rsync will not recursively delete a directory on the destination file system when the -x flag is used and the source is a symlink on a different file system. This is inconsistent with the behaviour seen when rsync'ing between directories in the same context. Commands to reproduce: mkdir /testing mount -t tmpfs -o size=1M,nr_inodes=1000,mode=0700 tmpfs /testing mkdir /testing/bar ln -s /testing/bar /testing/foo mkdir --parents /tmp/foo/bar/baz rsync -arvx --delete --force /testing/foo /tmp Result: sending incremental file list cannot delete non-empty directory: foo could not make way for new symlink: foo sent 41 bytes received 12 bytes 106.00 bytes/sec total size is 12 speedup is 0.23 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7] -- 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.
samba-bugs at samba.org
2011-Feb-22 16:28 UTC
DO NOT REPLY [Bug 7953] -x flag prevents symlink on source filesystem from overwriting dest dir
https://bugzilla.samba.org/show_bug.cgi?id=7953 wayned at samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Version|3.0.7 |3.0.8 ------- Comment #1 from wayned at samba.org 2011-02-22 10:28 CST ------- I've just checked in a fix for this. The device number of the destination wasn't being stored w/o --delete, so the removal would fail the same-device check. -- 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.
samba-bugs at samba.org
2011-Apr-04 16:58 UTC
[Bug 7953] -x flag prevents symlink on source filesystem from overwriting dest dir
https://bugzilla.samba.org/show_bug.cgi?id=7953 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |samba at liquidbinary.com --- Comment #2 from Wayne Davison <wayned at samba.org> 2011-04-04 16:58:29 UTC --- *** Bug 8057 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.