Web lists-archives.com

Re: File with weird permissions, impossible to delete




Pétùr composed on 2018-09-11 19:45 (UTC+0200):

> Martin composed:

>> don't get crazy about FS corruption. There is no sign this is the case so
>> far. Date and UID's are odd, but valid within ext4. Remove the immutable
>> flag (chattr -i), you will be able to alter the files as you like.

>> One hint will be, check if your system time is ok (both, date and
>> hwclock!), may be there is a reason for this odd timestamps.

> Thanks for the reassuring words.

> I deleted the file 
> .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg

Deleted exactly how?

> without issue after chattr -i on this file.

> However, it didn't work for the index.html file which is considered as a 
> folder.

Exactly how did you try?

> # ls -la .local/share/Trash/expunged/1257950219/ 
> myfolder/files/fullsize/index.html total 16 d-wS--S--T 2 1061270772
> 2605320832  4096 oct.   7  2412 . drwx------ 3 petur     petur     12288
> avril 25 12:21 ..

If by delete you really mean move to trash using some GUI file manager, likely
the trash system will not accept the corruption. :-p

Have you ever tried using the F8 key in Midnight Commander?
-- 
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/