[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: what is s ?
Ben Nes Michael <miki@canaan.co.il> writes:
> Hi All
>
> What the `s' in the file permission mean ?
> dr-xr-sr-x 6 root root 1024 Feb 9 14:17 pub
>
> The man chmod wrote this:
> set user or group ID on execution (s)
SGID access to directory is used when a lot of people have to share
a lot of files. Files created in this directory will have the same
group ownership as the directory itself, rather than the primary
group of the file owner. Thus, the correct group access is guaranteed
regardless of what the primary groups of people accessing it are.
--
Oleg Goldshmidt goldshmt@netvision.net.il
BLOOMBERG L.P. (BFM) oleg@bfr.co.il