Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199994

Re: File with weird permissions, impossible to delete

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: File with weird permissions, impossible to delete
Date 2018-09-11 17:00 +0200
Message-ID <wwSj0-3Rt-5@gated-at.bofh.it> (permalink)
References <wwQAy-34k-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

i wrote:
> > What do you get from command stat index.html

Pétùr wrote:
>   File: .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg
>  Size: 24576           Blocks: 32         IO Block: 4096   regular file
> Device: 802h/2050d      Inode: 4744568     Links: 1
> Access: (5222/--wS-w--wT)  Uid: (680132648/ UNKNOWN)   Gid: (44094674/
> UNKNOWN)
> Access: 2017-07-08 16:44:21.763005816 +0200
> Modify: 2211-03-27 19:08:40.011012642 +0100
> Change: 2290-05-04 13:52:16.011012642 +0100

Size, Blocks, Links, and Access time look significantly healthy.
"IO Block" too, if it is what man 2 stat has as struct stat.st_blksize.

Device and Inode do not look wrong, at least.
(You could compare Device with the value of a healthy file in the same
 filesystem. They must be identical.)

Uid, Gid, Modify date, and Change date are obviously damaged.

The other file seems to have got hit more completely.


Pétùr wrote:
> > # lsattr .cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg
> > s---i-d---j--------
> > '.cache/shotwell/thumbs/thumbs360/thumb0000000000000c5c.jpg': Operation
> >  not permitted

Martin wrote:
> Here we see; This thing has the immutable flag set. [...]

Good catch.

man chattr says: secure deletion (s), no dump (d), data journalling (j).
If other files on the same filesystem do not have these flags, then
probably they are garbage, too.
My normal files on ext4 only have the flag "extent format (e)".

Something trampled the parent directory or its attached data structures.


Have a nice day :)

Thomas

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 14:00 +0200
  Re: File with weird permissions, impossible to delete <tomas@tuxteam.de> - 2018-09-11 14:10 +0200
    Re: File with weird permissions, impossible to delete "Thomas Schmitt" <scdbackup@gmx.net> - 2018-09-11 14:20 +0200
  Re: File with weird permissions, impossible to delete Gene Heskett <gheskett@shentel.net> - 2018-09-11 14:20 +0200
  File with weird permissions, impossible to delete Martin <keine-eile@online.de> - 2018-09-11 14:30 +0200
    Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 14:50 +0200
      Re: File with weird permissions, impossible to delete Martin <keine-eile@online.de> - 2018-09-11 15:10 +0200
        Re: File with weird permissions, impossible to delete "Thomas Schmitt" <scdbackup@gmx.net> - 2018-09-11 17:00 +0200
          Re: File with weird permissions, impossible to delete Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-09-11 18:20 +0200
            Re: File with weird permissions, impossible to delete Michael Stone <mstone@debian.org> - 2018-09-11 19:00 +0200
      Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-11 15:30 +0200
  Re: File with weird permissions, impossible to delete Erik Christiansen <dvalin@internode.on.net> - 2018-09-11 15:00 +0200
  Re: File with weird permissions, impossible to delete Greg Wooledge <wooledg@eeg.ccf.org> - 2018-09-11 15:10 +0200
    Re: File with weird permissions, impossible to delete Michael Stone <mstone@debian.org> - 2018-09-11 16:50 +0200
      Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 17:30 +0200
        Re: File with weird permissions, impossible to delete Martin <keine-eile@online.de> - 2018-09-11 19:40 +0200
          Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 19:50 +0200
            Re: File with weird permissions, impossible to delete mick crane <mick.crane@gmail.com> - 2018-09-11 20:30 +0200
            Re: File with weird permissions, impossible to delete Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-09-11 21:10 +0200
            Re: File with weird permissions, impossible to delete Felix Miata <mrmazda@earthlink.net> - 2018-09-12 01:50 +0200
              Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-12 12:10 +0200
          Re: File with weird permissions, impossible to delete Michael Stone <mstone@debian.org> - 2018-09-11 20:30 +0200
          Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-11 22:30 +0200
    Re: File with weird permissions, impossible to delete Ben Caradoc-Davies <ben@transient.nz> - 2018-09-12 01:20 +0200
      Re: File with weird permissions, impossible to delete Gene Heskett <gheskett@shentel.net> - 2018-09-12 03:30 +0200
        Re: red SATA cable corruption (was: File with weird permissions,  impossible to delete) Felix Miata <mrmazda@earthlink.net> - 2018-09-12 03:40 +0200
          Re: red SATA cable corruption (was: File with weird permissions, impossible to delete) Gene Heskett <gheskett@shentel.net> - 2018-09-12 04:40 +0200
            Re: red SATA cable corruption Felix Miata <mrmazda@earthlink.net> - 2018-09-12 05:10 +0200
              Re: red SATA cable corruption Gene Heskett <gheskett@shentel.net> - 2018-09-12 08:10 +0200
                Re: red SATA cable corruption Curt <curty@free.fr> - 2018-09-12 13:40 +0200
                OT high-power radio broadcasting (was Re: red SATA cable corruption) Marty <martyb@ix.netcom.com> - 2018-09-14 20:40 +0200
                Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Gene Heskett <gheskett@shentel.net> - 2018-09-14 22:00 +0200
                Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-09-18 21:20 +0200
                Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Gene Heskett <gheskett@shentel.net> - 2018-09-18 22:00 +0200
                Re: OT high-power radio broadcasting (was Re: red SATA cable  corruption) Brian <ad44@cityscape.co.uk> - 2018-09-18 22:10 +0200
                Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-09-18 23:20 +0200
                Re: OT high-power radio broadcasting (was Re: red SATA cable  corruption) Dominic Knight <dominicknight@gmx.com> - 2018-09-18 23:40 +0200
                Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-09-19 00:20 +0200
                Re: OT high-power radio broadcasting (was Re: red SATA cable  corruption) Martin <keine-eile@online.de> - 2018-09-19 10:20 +0200
        Re: File with weird permissions, impossible to delete Zenaan Harkness <zenaan@freedbms.net> - 2018-09-14 03:10 +0200
  Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-18 15:00 +0200
    Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-18 16:10 +0200
      Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-18 16:20 +0200
        Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-18 17:30 +0200

csiph-web