samba-bugs@samba.org
2005-May-03 09:42 UTC
[Bug 2676] New: Directory replaced by a single file cannot be deleted
https://bugzilla.samba.org/show_bug.cgi?id=2676 Summary: Directory replaced by a single file cannot be deleted Product: rsync Version: 2.5.7 Platform: All URL: http://www.adelard.co.uk/info/staff/pbishop.htm OS/Version: other Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: pgb@adelard.com QAContact: rsync-qa@samba.org NB found in rsync version 2.5.5 but this version not available on the form So this is a bit old - but could not see a similar bug in Bugzilla Symptoms I use rsync to archive a Windows machine (with SMB shares). The Windows machine uses Zipmagic which makes ZIP files appear as normal folders. If Zipmagic is disabled. ZIP file becomes a normal file (not a folder) If I rsync again, it complains that it cannot delete the XXX.ZIP directory (because it contains other files) Possible cause: rsync does not expect a folder name to be replaced by a normal file with the same name, i.e. it assumes the type is the *current* type of XXX.ZIP (a folder), not the type that was last archived (a directory) and so cannot delete it if it performs a simple single file delete. -- 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.
Maybe Matching Threads
- [Bug 2676] New: error while starting sshd daemon
- [adejong@debian.org: Bug#531639: rsync can end up deleting unrelated files when a directory is replaced by a symlink]
- creates directory that can't be deleted (PR#4246)
- [Bug 1791] New: using --delete with single directory mirroring doesn't delete files
- rsync: omit summary with a single -v