Re: File with weird permissions, impossible to delete

2018-09-18 Thread David Wright
On Tue 18 Sep 2018 at 16:11:09 (+0200), Pétùr wrote: > Le 18/09/2018 à 15:46, David Wright a écrit : > >> How can I delete these files without formating ? > > To what end? I think you've now got an indication of a problem > > somewhat more serious than some software dreaming up crazy > > file permi

Re: File with weird permissions, impossible to delete

2018-09-18 Thread Pétùr
Le 18/09/2018 à 15:46, David Wright a écrit : >> How can I delete these files without formating ? > To what end? I think you've now got an indication of a problem > somewhat more serious than some software dreaming up crazy > file permissions and timestamps. > > I would now be looking at rescuing

Re: File with weird permissions, impossible to delete

2018-09-18 Thread David Wright
On Tue 18 Sep 2018 at 14:56:53 (+0200), Pétùr wrote: > Le 11/09/2018 à 13:52, Pétùr a écrit : > > I have some files, with weird permissions: > > > > # ls -la > > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html > > > > Cannot delete, cannot change owner or group (what is this us

Re: File with weird permissions, impossible to delete

2018-09-18 Thread Pétùr
Le 11/09/2018 à 13:52, Pétùr a écrit : > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html > > Cannot delete, cannot change owner or group (what is this user > 1061270772 and group 2605320832 by the way?) even for root. >

Re: File with weird permissions, impossible to delete

2018-09-13 Thread Zenaan Harkness
On Tue, Sep 11, 2018 at 09:21:50PM -0400, Gene Heskett wrote: > On Tuesday 11 September 2018 19:13:58 Ben Caradoc-Davies wrote: > > > On 12/09/2018 00:59, Greg Wooledge wrote: > > > On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: > > >> I have some files, with weird permissions: > > >> # ls

Re: File with weird permissions, impossible to delete

2018-09-12 Thread Pétùr
Le 12/09/2018 à 01:43, Felix Miata a écrit : >> I deleted the file >> .cache/shotwell/thumbs/thumbs360/thumb0c5c.jpg > Deleted exactly how? `rm -vf` in root >> without issue after chattr -i on this file. >> However, it didn't work for the index.html file which is considered as a >>

Re: red SATA cable corruption (was: File with weird permissions, impossible to delete)

2018-09-11 Thread Gene Heskett
On Tuesday 11 September 2018 21:34:27 Felix Miata wrote: > Gene Heskett composed on 2018-09-11 21:21 (UTC-0400): > > Ben Caradoc-Davies wrote: > >> I would first identify the *cause* and replace all unreliable > >> hardware before bothering to restore from backup. If you have > >> noticed some cor

Re: red SATA cable corruption (was: File with weird permissions, impossible to delete)

2018-09-11 Thread Felix Miata
Gene Heskett composed on 2018-09-11 21:21 (UTC-0400): > Ben Caradoc-Davies wrote: >> I would first identify the *cause* and replace all unreliable hardware >> before bothering to restore from backup. If you have noticed some >> corruption, you likely also have some unnoticed corruption. Continuin

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Gene Heskett
On Tuesday 11 September 2018 19:13:58 Ben Caradoc-Davies wrote: > On 12/09/2018 00:59, Greg Wooledge wrote: > > On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: > >> I have some files, with weird permissions: > >> # ls -la > >> d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.ht

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Felix Miata
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

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Ben Caradoc-Davies
On 12/09/2018 00:59, Greg Wooledge wrote: On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: I have some files, with weird permissions: # ls -la d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html Obvious file system corruption. Unmount, fsck, re-mount, and then be prepared

Re: File with weird permissions, impossible to delete

2018-09-11 Thread David Wright
On Tue 11 Sep 2018 at 19:34:53 (+0200), Martin wrote: > Pétùr, > > 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 hi

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Joe Pfeiffer
Pétùr 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 hi

Re: File with weird permissions, impossible to delete

2018-09-11 Thread mick crane
On 2018-09-11 18:45, Pétùr wrote: 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. On

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Michael Stone
On Tue, Sep 11, 2018 at 07:34:53PM +0200, Martin wrote: don't get crazy about FS corruption. There is no sign this is the case so far. umm, yeah, this is pretty classic. it's more likely than not that random bits will result in file attributes that can be interpreted but are completely bogus.

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Pétùr
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

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Martin
Pétùr, 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!

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Michael Stone
On Tue, Sep 11, 2018 at 09:49:32AM -0600, Joe Pfeiffer wrote: "Thomas Schmitt" writes: Something trampled the parent directory or its attached data structures. It appears to be the two inodes, not the parent directory, that got trampled. The problem is that it's fairly unlikely that two ino

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Joe Pfeiffer
"Thomas Schmitt" writes: > > Something trampled the parent directory or its attached data structures. It appears to be the two inodes, not the parent directory, that got trampled.

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Pétùr
Le 11/09/2018 à 16:44, Michael Stone a écrit : On Tue, Sep 11, 2018 at 08:59:56AM -0400, Greg Wooledge wrote: On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: I have some files, with weird permissions: # ls -la d-wS--S--T 2 1061270772 2605320832  4096 oct.   7  2412 index.html Obvious

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Thomas Schmitt
Hi, i wrote: > > What do you get from command stat index.html Pétùr wrote: > File: .cache/shotwell/thumbs/thumbs360/thumb0c5c.jpg > Size: 24576 Blocks: 32 IO Block: 4096 regular file > Device: 802h/2050d Inode: 4744568 Links: 1 > Access: (5222/--wS-w--w

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Michael Stone
On Tue, Sep 11, 2018 at 08:59:56AM -0400, Greg Wooledge wrote: On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: I have some files, with weird permissions: # ls -la d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html Obvious file system corruption. Unmount, fsck, re-mount

Re: File with weird permissions, impossible to delete

2018-09-11 Thread David Wright
On Tue 11 Sep 2018 at 14:48:45 (+0200), Pétùr wrote: > 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/thumb000

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Martin
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/thumb0c5c.jpg >

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Greg Wooledge
On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html Obvious file system corruption. Unmount, fsck, re-mount, and then be prepared to restore the data from your last g

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Erik Christiansen
On 11.09.18 13:52, Pétùr wrote: > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html OK, you have the suid, sgid, and sticky bits set, and it's a directory. Execute (directory navigate) permission is off. > Cannot delete,

Re: File with weird permissions, impossible to delete

2018-09-11 Thread 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/thumb0c5c.jpg --wS-w--wT 1 680132648 44094674 24576 mars 27 2211 .c

File with weird permissions, impossible to delete

2018-09-11 Thread Martin
What file system? What does 'lsattr' say? Am 11.09.2018 um 13:52 schrieb Pétùr: > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html > > Cannot delete, cannot change owner or group (what is this user > 1061270772 and grou

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Thomas Schmitt
Hi, Pétùr wrote: > > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html to...@tuxteam.de wrote: > Whoa. 'S' is a setuid file which is not executable. Exotic, to say > the least. Not to speak of the year 2412, and "index.html" being a directory. > Perhaps you are dealing with fi

Re: File with weird permissions, impossible to delete

2018-09-11 Thread Gene Heskett
On Tuesday 11 September 2018 07:52:15 Pétùr wrote: > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html > > Cannot delete, cannot change owner or group (what is this user > 1061270772 and group 2605320832 by the way?) even f

Re: File with weird permissions, impossible to delete

2018-09-11 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: > I have some files, with weird permissions: > > # ls -la > d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html Whoa. 'S' is a setuid file which is not executable. Exotic, to say t

File with weird permissions, impossible to delete

2018-09-11 Thread Pétùr
I have some files, with weird permissions: # ls -la d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html Cannot delete, cannot change owner or group (what is this user 1061270772 and group 2605320832 by the way?) even for root. How can I get rid of these? Pétùr