[Bug 2676] New: Directory replaced by a single file cannot be
deleted
samba-bugs at samba.org
samba-bugs at samba.org
Tue May 3 09:28:52 GMT 2005
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 at samba.org
ReportedBy: pgb at adelard.com
QAContact: rsync-qa at 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.
More information about the rsync
mailing list