Re: File with weird permissions, impossible to delete
- Date: Tue, 11 Sep 2018 15:06:01 +0200
- From: Martin <keine-eile@xxxxxxxxx>
- Subject: Re: File with weird permissions, impossible to delete
Am 11.09.2018 um 14:48 schrieb Pétùr:
> I have two files with this problem.
> The first one (index.html) which is considered as directory is in
> and the second one is a thumb of shotwell:
> $ ls -la .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg
> --wS-w--wT 1 680132648 44094674 24576 mars 27 2211
> Le 11/09/2018 à 14:27, Martin a écrit :
>> What file system?
>> What does 'lsattr' say?
> # lsattr .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg
Here we see; This thing has the immutable flag set. This is a part of (not only) ext4's acl implementation.
See man pages of lsattr and chattr.
Use 'sudo chattr -i [file]' to remove that flag.