Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!wuarchive!udel!princeton!cs!samadams!tr From: tr@samadams.princeton.edu (Tom Reingold) Newsgroups: comp.unix.internals Subject: Re: What does SUID, SGID and Sticky bits do on inappropriate files? Keywords: Set-UID, Set-GID, Sitcky-Bit, Special Files Message-ID: <5655@rossignol.Princeton.EDU> Date: 27 Dec 90 21:41:14 GMT References: <1990Dec25.032451.25017@gpu.utcs.utoronto.ca> Sender: news@cs.Princeton.EDU Organization: Noo Joizy -- The Cultural Mecca Lines: 22 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@samadams.princeton.edu OR ...!princeton!samadams!tr "Warning: Do not drive with Auto-Shade in place. Remove from windshield before starting ignition."