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

Re: File with weird permissions, impossible to delete



Pétùr <peturvilj@gmail.com> writes:

> Le 11/09/2018 à 19:34, Martin a écrit :
>>
>> 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
>
> without issue after chattr -i on this file.
>
> However, it didn't work for the index.html file which is considered as
> a folder.
>
>
> # 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 ..

I realize you've almost certainly already thought of this, but I sort of
have to point it out -- did you try using rmdir?


Reply to: