Messages in this thread | | | Date | Mon, 24 Sep 2007 13:04:39 -0400 | From | Dave Jones <> | Subject | Re: bug in fsck or ext2/ext3? |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |