[ale] The "ls" command
Jerald Sheets
jsheets at yahoo.com
Mon Jan 17 17:33:36 EST 2005
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).
Am I mistaken on that naming convention?
--Jerald
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Geoffrey
Sent: Monday, January 17, 2005 5:25 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] The "ls" command
Drag0n wrote:
> Sticky
> When the sticky bit is set on a directory, files in that directory may
> be unlinked or renamed only by root or their owner. Without the
> sticky
> bit, anyone able to write to the directory can delete or rename
> files.
> The sticky bit is commonly found on directories, such as /tmp,
> that are
> world-writable.
>
> Directly from
> man chmod
Might check that again, sticky bit is 't' as is likely seen on your /tmp
Sticky bit is a perm indicator whereas the first character of the perms is
file type. 's' would be a socket
--
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