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


Groups > linux.debian.user > #200020

Re: File with weird permissions, impossible to delete

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: File with weird permissions, impossible to delete
Date 2018-09-12 03:30 +0200
Message-ID <wx28F-1kd-3@gated-at.bofh.it> (permalink)
References <wwPuN-2dQ-1@gated-at.bofh.it> <wwQAy-34k-7@gated-at.bofh.it> <wx06R-dm-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.html
> >
> > Obvious file system corruption.  Unmount, fsck, re-mount, and then
> > be prepared to restore the data from your last good backup if/when
> > the fsck failed to repair everything.
>
> I would also use journalctl to look for any i/o errors on the affected
> device.
>
> What hardware and kernel and filesystem? ext4 filesystem corruption is
> rare and usually suggests a hardware fault.
>
> I would run a full hardware test, including CPU and RAM, and a long
> SMART test on the storage if it is capable. SMART self-tests will not
> usually detect drive data transmission errors caused by cable
> problems, but the SMART logs should list the CRC error count which can
> indicate unreliable cables or controller connectors.
>
> 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. Continuing
> to use unreliable hardware wastes your time and endangers your data.
>
> Kind regards,

I will 2nd and 3rd Bens advice. Bad cables have been the huge majority of 
such nefarious goings on. Particularly if they are bright red and 4+ 
years old, put a tail on the log, and prod the cable gently with a 
wooden pencil.  If the log blows up, bad cable, replace it with any 
color but red. Preferably a month ago...

 

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

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