• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OT: What does '@' in file permissions mean?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: What does '@' in file permissions mean?


  • Subject: Re: OT: What does '@' in file permissions mean?
  • From: Doug Hill <email@hidden>
  • Date: Tue, 29 Apr 2008 17:53:38 -0700

From the man page at the URL given below:

"The Long Format
If the file or directory has extended attributes, the permissions field printed by the -l
option is followed by a '@' character. Otherwise, if the file or directory has extended security
information, the permissions field printed by the -l option is followed by a '+' character."


Doug Hill
Oracle Corp.

On Apr 29, 2008, at 5:11 PM, Bill Royds wrote:


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

_______________________________________________ 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
  • Follow-Ups:
    • Re: OT: What does '@' in file permissions mean?
      • From: Bill Royds <email@hidden>
References: 
 >Re: OT: What does '@' in file permissions mean? (From: Greg Guerin <email@hidden>)
 >Re: OT: What does '@' in file permissions mean? (From: Bill Royds <email@hidden>)

  • Prev by Date: Re: Using custom compiler
  • Next by Date: Re: OT: What does '@' in file permissions mean?
  • Previous by thread: Re: OT: What does '@' in file permissions mean?
  • Next by thread: Re: OT: What does '@' in file permissions mean?
  • Index(es):
    • Date
    • Thread