Public bug reported: Binary package hint: unionfs-fuse
Ubuntu Release: 10.04 / Lucid Lynx Package Version: unionfs-fuse 0.23.hg.20090611-1 Running the following command sequence: 01 $ cd /tmp 02 $ mkdir tmp 03 $ cd tmp 04 $ ls 05 $ mkdir ro ro/subdir rw union 06 $ touch ro/subdir/file 07 $ unionfs-fuse -o cow /tmp/tmp/rw=RW:/tmp/tmp/ro=RO /tmp/tmp/union 08 $ ls -l union/subdir insgesamt 0 -rw-r--r-- 1 wjg wjg 0 2010-05-31 16:09 file 09 $ rmdir union/subdir 10 $ ls -l union/subdir ls: Zugriff auf union/subdir nicht möglich: No such file or directory 11 $ fusermount -u /tmp/tmp/union Expected outcome: I expect the command on line 09 to fail, as the directory union/subdir is not empty. Actual outcome: Instead it succeeds. The contents below the directory are "lost". Some additional context: I want to use unionfs-fuse in the context of the Ubuntu Customization Toolkit to avoid having to extract ISO and squashfs images. Several (python) packages do a "rmdir -f /usr/lib/pymodules/python2.6/*" to clean up packages no longer relevant, relying on rmdir to fail silently when there are non-empty directories. Unfortunately this strategy does not work with unionfs-fuse and makes it unusable for UCK. ** Affects: unionfs-fuse (Ubuntu) Importance: Undecided Status: New -- rmdir on non-empty directory does not fail https://bugs.launchpad.net/bugs/587917 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs