[Bug 2472] New: A different kind of the 'mkdir "*" failed: File exists' bug.

samba-bugs at samba.org samba-bugs at samba.org
Wed Mar 16 23:09:21 GMT 2005


https://bugzilla.samba.org/show_bug.cgi?id=2472

           Summary: A different kind of the 'mkdir "*" failed: File exists'
                    bug.
           Product: rsync
           Version: 2.6.3
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: jobst at barrett.com.au
         QAContact: rsync-qa at samba.org


OS: fedora core 2, most updates but due to device driver I run 2.6.5-1.358
rsync: 2.6.3
all my machines run same OS/packages, they are basically clones of each other.

Bug:

In version prior 2.6.2 there was a bug that showed an error:

   mkdir "/foo/bar/blah" failed: File exists

This was fixed, thank you.
However, using 2.6.3 this message is still occuring when a SOURCE DIRECTORY
tree was deleted as shown in the example below.

Explanation:

I have a number of large USB based hardisks I use to store incremental backups.
This harddisks are attached to the most central machine which uses rsync
to connect to other machines as well as "to itself" (I use tapes as well).

Anyway, I deleted some users on one machine including their home directories 
as I had moved them to another machine.
Running 

/usr/bin/rsync -rlptgoD --force --ignore-errors --delete --delete-excluded
--exclude .snapshot/ --exclude "*~"   --backup
--backup-dir=/mnt/usb/ronnie/incremental_March.0/home ronnie:/home/
/mnt/usb/ronnie/current/home

will yield following errors:

rsync: mkdir "/mnt/usb/ronnie/incremental_March.0/home/rsa/tmp" failed: File
exists (17)
rsync: mkdir
"/mnt/usb/ronnie/incremental_March.0/home/rsa/src/fvwm-themes-0.6.2/themes/redmond98/modules/taskbarpos"
failed: File exists (17)
rsync: mkdir
"/mnt/usb/ronnie/incremental_March.0/home/rsa/src/fvwm-themes-0.6.2/themes/redmond98/modules/taskbar"
failed: File exists (17)
rsync: mkdir
"/mnt/usb/ronnie/incremental_March.0/home/rsa/src/fvwm-themes-0.6.2/themes/redmond98/modules/pager"
failed: File exists (17)
rsync: mkdir
"/mnt/usb/ronnie/incremental_March.0/home/rsa/src/fvwm-themes-0.6.2/themes/redmond98/modules/buttonbar"
failed: File exists (17

etc .... which can ONLY be the case when the SOURCE directory is deleted and
hence they need to be moved to the incremental directory.


jobst

-- 
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