[ale] The "ls" command

Jerald Sheets jsheets at yahoo.com
Mon Jan 17 17:52:42 EST 2005


Ah.

I've called that "sticky" for almost 15 years.

Learn something every day.

--J 

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Geoffrey
Sent: Monday, January 17, 2005 5:45 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] The "ls" command

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
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 1/16/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 1/16/2005
 



More information about the Ale mailing list