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


Groups > linux.debian.user > #199987

Re: File with weird permissions, impossible to delete

From Erik Christiansen <dvalin@internode.on.net>
Newsgroups linux.debian.user
Subject Re: File with weird permissions, impossible to delete
Date 2018-09-11 15:00 +0200
Message-ID <wwQqS-2M2-9@gated-at.bofh.it> (permalink)
References <wwPuN-2dQ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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, cannot change owner or group (what is this user
> 1061270772 and group 2605320832 by the way?) even for root.

Linux supports 32 bit uids and gids, so those numbers seem OK.
The blockage will be the sticky bit, if your effective UID is not root. 

> How can I get rid of these?

I'd also check that the filesystem is not mounted "noexec", and please
post the permissions on the parent directory, as its ownership and
permissions are just as relevant as what is shown.

Erik

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