[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strange permissions once more



hi,

>> hi,
>>
>> root@godzilla:/www/mysql/data/eyecandy# ls -la
>> total 4139667614
>> drwx------    2 mysql    root         4096 Jan 19 02:13 .
>> drwxrwx---   55 mysql    root         4096 Jan 22 11:39 ..
>> -rw-rw----    1 mysql    root          398 Jan 11 03:35 admin.ISD
>> c---r-xr-t    1 8736     13358     99,  79 May 28  2000 admin.ISM
>> br-xrw----    1 26996    29559    116, 112 Apr 27  2016 admin.frm
>> -rw-rw----    1 mysql    root           63 Jan 11 03:35 admin_session.ISD
>> -rw-rw----    1 mysql    root         2048 Jan 11 03:35 admin_session.ISM
>> -rw-rw----    1 mysql    root         8618 Oct  9 01:50 admin_session.frm
>>
>> i emailed about this a while back and was told to fsck, which i did.
however
>> after fixing all the errors these funny things still remain and i cant
>> remove them.
>>
>> root@godzilla:/www/mysql/data/eyecandy# rm -rf admin.ISM
>> rm: cannot unlink `admin.ISM': Operation not permitted
>
>the inode was probably corrupted, the kernel seems to think the
>immutable or append only bit is set.
>
>try chattr -ia admin.ISM  then rm -f admin.ISM
>
>and if that fails use debugfs.

ive tried to use debugfs but cant seem to get rid of the files!

ie.

root@godzilla:/www/mysql/data/eyecandy# debugfs -w -R "rm
/www/mysql/data/eyecandy/beta_test.ISM" /dev/rd/c0d0p1
debugfs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
rm: File not found by ext2_lookup while trying to resolve filename

i got that line from an example i found on the web that was as such:

debugfs -w -R "rm /lost+found/bad_device/fontsmpl.sty" /dev/hda1

does that bad_device mean anything?

thanks for the help ;-)

Regards,

Marc-Adrian Napoli
Network Admin
Connect Infobahn Australia
+61 2 9212 0387




Reply to: