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

Re: Question about permission



Try

  info chmod

and follow the link, "*Note File permissions::", then to "* Mode
Structure::".  There it says what an earlier poster claimed, that it is
the set-group-id bit, which, for directories, causes any files that are
created there to have group ownership by that directory's group,
regardless of the group of the creator.

On Mon, Dec 20, 1999 at 03:55:25PM -0500, Tyler Nally wrote:
> > From: Karl-Heinz Schulz [mailto:karlheinz khschulz com]
> >
> > What does the "s" stand for?
> > 
> > drwxr-sr-x   2 root     ftp          1024 Mar 21  1999 pub
> > 
> > I checked the man page for chmod but couldn't find anything.
> 
> I couldn't find it doing a "man ls" on my linux machine...
> but when doing the same on a solaris... it says...
> 
>      The permissions are indicated as follows:
> 
>           r   the file is readable
>           w   the file is writable
>           x   the file is executable
>           -   the indicated permission is not granted
>           s   the set-user-ID or set-group-ID bit is on, and  the
>               corresponding  user  or group execution bit is also
>               on
>           S   undefined bit-state (the set-user-ID bit is on  and
>               the user execution bit is off)
>           t   the 1000 (octal) bit, or sticky  bit,  is  on  (see
>               chmod(1)), and execution is on
>           T   the 1000 bit is turned on,  and  execution  is  off
>               (undefined bit-state)
> 
> ... I imagine it would apply to my Linux mandrake (RH 6.1) as well.
> 
> Tyler
> -- 
> +-----------------------+---------------------------+-------------------------+
> | Tyler Nally           | tnally iquest net         | http://www.informit.com |
> | Sr Programmer Analyst | tyler nally informit com  | phone: (317) 817-7077   |
> | Macmillan USA, Inc    | tnally netzero net        | fax  : (317) 817-7232   |
> +-----------------------+---------------------------+-------------------------+

Cheers,
-- 
Bob McClure, Jr.            | Is "There is no objective truth."
Bobcat Open Systems, Inc.   |  an objective truth?
robertmcclure earthlink net |



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