Re: File with weird permissions, impossible to delete
- Date: Tue, 11 Sep 2018 14:00:27 +0200
- From: <tomas@xxxxxxxxxx>
- Subject: Re: File with weird permissions, impossible to delete
-----BEGIN PGP SIGNED MESSAGE-----
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
the least. Perhaps you are dealing with file system corruption.
Do you have a backup?
> Cannot delete, cannot change owner or group (what is this user
> 1061270772 and group 2605320832 by the way?) even for root.
The UID and GID are pretty strange too.
The error message (when you try to delete it) would be interesting.
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
-----END PGP SIGNATURE-----