lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 24 Sep 2007 13:04:39 -0400
From:	Dave Jones <davej@...hat.com>
To:	Antoine Martin <antoine@...afix.co.uk>
Cc:	tytso@...nk.org,
	Linux Kernel Development <linux-kernel@...r.kernel.org>
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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ