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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


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.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to