Re: OT: What does '@' in file permissions mean?
Re: OT: What does '@' in file permissions mean?
- Subject: Re: OT: What does '@' in file permissions mean?
- From: Bill Royds <email@hidden>
- Date: Tue, 29 Apr 2008 20:11:31 -0400
On 29-Apr-08, at 19:10 , Greg Guerin wrote:
It means you should read the man page for 'ls' and find @ on the page.
It's not random.
<http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ls.1.html
>
Where can I find a cheat sheet of "non-standard" permission
characters and what they mean?
In the man page for 'ls'.
The man page for 'ls' no mention of @ if you updated from Tiger and
the pages you reference do not include it in the file information
description quoted below, so you answer is a bit egregious.
The file mode printed under the -l option consists of the entry
type, owner permissions, and group per-missions. permissions.
missions. The entry type character describes the type of file,
as follows:
b Block special file.
c Character special file.
d Directory.
l Symbolic link.
s Socket link.
p FIFO.
- Regular file.
The next three fields are three characters each: owner
permissions, group permissions, and other per-missions. permissions.
missions. Each field has three character positions:
1. If r, the file is readable; if -, it is not readable.
2. If w, the file is writable; if -, it is not writable.
3. The first of the following that applies:
S If in the owner permissions, the file is
not executable and set-user-ID mode is
set. If in the group permissions, the
file is not executable and set-group-ID
mode is set.
s If in the owner permissions, the file is
executable and set-user-ID mode is set.
If in the group permissions, the file is
executable and setgroup-ID mode is set.
x The file is executable or the directory
is searchable.
- The file is neither readable, writable,
executable, nor set-user-ID nor set-group-ID setgroup-ID
group-ID mode, nor sticky. (See below.)
These next two apply only to the third character in
the last group (other permissions).
T The sticky bit is set (mode 1000), but
not execute or search permission. (See
chmod(1) or sticky(8).)
t The sticky bit is set (mode 1000), and
is searchable or executable. (See
chmod(1) or sticky(8).)
EXAMPLES
Bill Royds
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden