Dominik Brodowski
2004-Sep-05 18:18 UTC
strange non-eraseable mixture between file and directory on ext3 FS
Hi! On my notebook I got a strage ext3-related problem: root at jura98 /usr/portage/app-misc/obexftp # ls -l total 4 dr-Sr-sr-t 2 8242 15720 4096 Dec 28 1993 metadata.xml [how this got created is beyond my knowledge, possibly because of some random memory corruption a bad kernel patch caused a few weeks ago] root at jura98 /usr/portage/app-misc/obexftp # rm metadata.xml/ rm: cannot remove etadata.xml/': Is a directory root at jura98 /usr/portage/app-misc/obexftp # rm metadata.xml rm: cannot remove etadata.xml': Operation not permitted root at jura98 /usr/portage/app-misc/obexftp # rm -r metadata.xml/ rm: cannot remove directory etadata.xml/': Operation not permitted Running e2fsck 1.35 (28-Feb-2004) Using EXT2FS Library version 1.35, 28-Feb-2004 doesn't help: root at jura98 /usr # e2fsck -f /dev/hda5 e2fsck 1.35 (28-Feb-2004) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/hda5: 97724/1221600 files (0.9% non-contiguous), 977409/2441872 blocks Does anybody have any idea on what could be done? Thanks, Dominik
Stephen C. Tweedie
2004-Sep-06 14:26 UTC
strange non-eraseable mixture between file and directory on ext3 FS
Hi, On Sun, 2004-09-05 at 19:18, Dominik Brodowski wrote:> On my notebook I got a strage ext3-related problem: > > root at jura98 /usr/portage/app-misc/obexftp # ls -l > total 4 > dr-Sr-sr-t 2 8242 15720 4096 Dec 28 1993 metadata.xml> [how this got created is beyond my knowledge, possibly because of some > random memory corruption a bad kernel patch caused a few weeks ago]> root at jura98 /usr/portage/app-misc/obexftp # rm -r metadata.xml/ > rm: cannot remove directory metadata.xml/': Operation not permittedTry "lsattr" on it --- is the immutable or append-only bit set? Use "chattr -ai" to clear them. Cheers, Stephen