Gentoo Archives: gentoo-user

From: Hilco Wijbenga <hilco.wijbenga@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] Cannot remove empty directory: "cannot remove `APR-13-2011': Directory not empty"
Date: Fri, 05 Aug 2011 20:07:09
Message-Id: CAE1pOi0Lp=V3n_E+UB_v9obRyn=XAVZWi1rxUuj=8Bf3qCR3Hw@mail.gmail.com
1 Hi all,
2
3 I use a USB key to transfer files between my printer/scanner and my
4 computer. This all works fine except that I am unable to delete empty
5 directories on the USB key.
6
7 The following applies to both user 'hilco' and 'root'!
8
9 centaur usb # mount
10 <snip/>
11 /dev/sdc1 on /mnt/usb type vfat (rw,noexec,nosuid,nodev,user=hilco)
12 centaur usb # find .
13 .
14 ./APR-13-2011
15 <snip/>
16 ./AUG-05-2011
17 centaur usb # rm -rf *
18 rm: cannot remove `APR-13-2011': Directory not empty
19 <snip/>
20 rm: cannot remove `AUG-05-2011': Directory not empty
21 centaur usb # mkdir xyz
22 centaur usb # rmdir xyz
23
24 (I should note that any files in the MMM-DD-YYYY directories *are* removed.)
25
26 I could reformat the USB key of course but I would prefer to be able
27 to simply delete old directories.
28
29 Any ideas what might be causing this?
30
31 Cheers,
32 Hilco