[ale] The "ls" command
    Geoffrey 
    esoteric at 3times25.net
       
    Mon Jan 17 17:49:24 EST 2005
    
    
  
Jerald Sheets wrote:
> Now, correct me if I'm wrong, Geoff, but "s" is a socket when only in the
> filetype column.  When in one of the other columns, it's a "sticky" bit.
> (i.e. chmod 4755, or chmod 2755).
You are correct that s is a socket only in the filetype column, but s in 
the perms column is set uid.
> Am I mistaken on that naming convention?
man chmod:
The letters `rwxXstugo' select the new  permissions  for  the  affected
users:  read  (r),  write (w), execute (or access for directories) (x), 
execute only if the file is a directory or already has execute  permis-
sion  for  some user (X), set user or group ID on execution (s), sticky
(t), the permissions granted to the user who owns  the  file  (u),  the
permissions  granted to other users who are members of the file's group
(g), and the permissions granted to users that are in  neither  of  the
two preceding categories (o).
-- 
Until later, Geoffrey
    
    
More information about the Ale
mailing list