samba-bugs@samba.org
2005-Mar-02 16:01 UTC
[Bug 2409] New: rsync doesn't handle directories changing into symlinks well
https://bugzilla.samba.org/show_bug.cgi?id=2409 Summary: rsync doesn't handle directories changing into symlinks well Product: rsync Version: 2.6.3 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: arthur@west.nl QAContact: rsync-qa@samba.org If I change a direcotry to a symlink with the same name on the source rsync produces an error: % mkdir -p foo/bar/foo bar % rsync -a -v foo/ bar/ building file list ... done ./ bar/ bar/foo/ sent 90 bytes received 20 bytes 220.00 bytes/sec total size is 0 speedup is 0.00 % rm -rf foo/bar % ln -s foo foo/bar % rsync -a -v foo/ bar/ building file list ... done ./ rsync: delete_file: rmdir "/tmp/1/bar/bar" failed: Directory not empty (39) rsync: symlink "/tmp/1/bar/bar" -> "foo" failed: File exists (17) sent 90 bytes received 20 bytes 73.33 bytes/sec total size is 3 speedup is 0.03 rsync error: some files could not be transferred (code 23) at main.c(702) -- 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.