[ale] The "ls" command
Jerald Sheets
jsheets at yahoo.com
Mon Jan 17 16:39:05 EST 2005
Yeah, but this one is in the "file type" column. While that is true for all
the other columns, it doesn't apply to this one. In this case, the file is
a socket.
--j
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Drag0n
Sent: Monday, January 17, 2005 4:30 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] The "ls" command
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
Drag0n
dragon<at>atlantacon.org
Sean Kilpatrick wrote:
>ls -l shows me this:
>
>srw-rw-rw- 1 root root 0 Jan 17 15:38 log
>^
>
>What's the "s" stand for?
>The others I know:
>l = link
>d = directory
>- = normal file
>b = block device
>c = character device
>
>Running FC3
>
>Sean
>
>
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://www.ale.org/mailman/listinfo/ale
>
_______________________________________________
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