Diff between "S" & "s" in "ls -l" output?

Diff between "S" & "s" in "ls -l" output?

Post by Terry Husi » Tue, 19 Jan 1999 04:00:00



Anybody know? The "ls" and "chmod" man pages say nothing.

No mail, thanks.

 
 
 

Diff between "S" & "s" in "ls -l" output?

Post by L J Bay » Wed, 20 Jan 1999 04:00:00



>Anybody know? The "ls" and "chmod" man pages say nothing.

"s" means setuid or setgid bit is set. Capital S means the
set-id bit is set, but the corresponding execute bit is not set (a
weird combination for files).
For example,
octal mode 2755 is setgid, and shows as "rwxr-sr-x".
octal mode 2644 is setgid but no execute, shows "rw-r-Sr--"

 
 
 

1. "S" Loves Linux,, come on "S", you know it

Oh great.  As if "S" didn't already pollute this group enough without
provocation, now you're baiting him?  Give us a break, puhleez.

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

2. No clue how to configure ethernet card

3. the "s" and "S" permissions.

4. netscape enterprise server

5. "bug in vfo" in "ls -l" output

6. Can't read superblock

7. GETSERVBYNAME()????????????????????"""""""""""""

8. Problem with rpc.portmap

9. Using "tar" with "-s"

10. How to allow "apm -s" or "shutdown" to non root users?

11. Boot problem: " cannot execute "/etc/rc.d/rc.S" "

12. what does "ENTRY, .globl, .org, .fill" mean in "head.S"

13. "/bin/mount -av" wipes out Time Zone config ("/sbin/clock -s")