On Mon, Sep 24, 2007 at 05:56:39PM +0100, Antoine Martin wrote: > I've got this snapshot of an ext3 filesystem with a directory that > simply cannot be removed! (image below is just 1.2MB) > As root: > # wget http://users.nagafix.co.uk/~antoine/root-broken.bz2 > # bunzip2 root-broken.bz2 > # mount -o loop -t ext2 root-broken ./tmp > # rm -fr tmp/chroot.broken > rm: cannot remove directory (...) > Same result when trying to do anything to those files chown/chmod/touch: > "Operation not permitted" > > Tested with e2fsprogs v1.39 on 3 systems. > Not sure where else to post this... Various files in the directories it complains about have their 'i' bit set. lsattr will show you. chattr -i those files, and the directory is removable again. Dave -- http://www.codemonkey.org.uk -
| Andrew Morton | Re: Linux 2.6.21-rc4 |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Balbir Singh | Re: [RFC][PATCH 2/7] RSS controller core |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| Andreas Henriksson | [PATCH 06/12] Remove bogus reference to tc-filters(8) from tc(8) manpage. |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
