From: Dave Jones <davej@redhat.com>
To: Antoine Martin <antoine@nagafix.co.uk>
Cc: tytso@thunk.org, Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: bug in fsck or ext2/ext3?
Date: Mon, 24 Sep 2007 13:04:39 -0400 [thread overview]
Message-ID: <20070924170439.GF8127@redhat.com> (raw)
In-Reply-To: <46F7EC47.9010803@nagafix.co.uk>
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
next prev parent reply other threads:[~2007-09-24 17:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-24 16:56 bug in fsck or ext2/ext3? Antoine Martin
2007-09-24 17:04 ` Dave Jones [this message]
2007-09-24 18:16 ` David Newall
2007-09-24 18:21 ` Dave Jones
2007-09-24 17:14 ` Alistair John Strachan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070924170439.GF8127@redhat.com \
--to=davej@redhat.com \
--cc=antoine@nagafix.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@thunk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.