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 > .local/share/Trash/expunged > > 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 > .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > > Le 11/09/2018 à 14:27, Martin a écrit : >> What file system? > > ext4 > >> What does 'lsattr' say? > > # lsattr .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg > s---i-d---j-------- > .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. > >> rm > [...]