[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some questions about file permissions



On Tue, Oct 01, 2002 at 12:25:30PM +0200, Robert Wilhelm Land wrote:
> I would grately appreciate some help in understanding
> file permissions.
> The first one is the lower and uppercase 's' in:
> 
> drwxr-sr-x ?? 2 rland ?? rland ?? ? ? 4096 Jun? 4 11:43 files
> drwx--S--- ?? 2 rland ?? rland ?? ? ? 4096 Sep 27? 2001 nsmail

The info documentation for ls says this:

    `s'
          If the setuid or setgid bit and the corresponding executable
          bit are both set.

    `S'
          If the setuid or setgid bit is set but the corresponding
          executable bit is not set.

> Then, some file permission strings have a? 'b' (=blockdevice?)

Yes.

> and a 'c' - what are these for ?

Character device. Both of these refer to various device drivers in the
kernel.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: