What does SUID, SGID and Sticky bits do on inappropriate files?
Tom Reingold
tr at samadams.princeton.edu
Fri Dec 28 08:41:14 AEST 1990
Here is some more (paraphrased) information from my System V Release 3
manual page for ls(1):
if doing "ls -l" on a file yields
-rwSrwlr-T 1 tr other 10 Dec 27 16:35 file
then
1. The 'S' means the set-uid bit is on but the user-execute bit is
off. This is undefined.
2. The 'l' means the set-gid bit is on but the group-execute bit is
off. This means mandatory locking will occur during access.
3. The 'T' means the sticky bit is on but execution is off. This is
undefined.
--
Tom Reingold
tr at samadams.princeton.edu OR ...!princeton!samadams!tr
"Warning: Do not drive with Auto-Shade in place. Remove
from windshield before starting ignition."
More information about the Comp.unix.internals
mailing list