Topic : What's with the @ symbol in permissions

Topic Archived This topic has been archived - replies are not allowed.


This question is not answered. "Helpful" answers available: 2 . "Solved" answers available: 1 .



            Permlink
            Replies : 4 - Pages : 1 - Last Post : Nov 8, 2007 6:30 AM by: ebsanford
Greg Hodge


Posts: 113
Registered: Jan 19, 2005
What's with the @ symbol in permissions
Posted: Oct 28, 2007 6:50 PM
 

I don't recall seeing anything like this in pre-Leopard systems. After the upgrade to Leopard, many of my Terminal permissions listings now include the @ symbol at the end, as in drwxr-xr-x@. I'm not concerned or anything, just curious as to its meaning and any significance related to the new OS.

Thanks,
Greg

Intel Mini   Mac OS X (10.5)    
Camelot


Posts: 9,713
From: San Jose, CA
Registered: Mar 13, 2002
Re: What's with the @ symbol in permissions
Posted: Oct 28, 2007 7:31 PM   in response to: Greg Hodge
 

Mac OS X supports multiple permission models - there's the standard set of owner/group/other and read/write/execute, and a richer set that allows more fine-grained control.

ls uses the @ sign to indicate files are using the richer set and therefore what you're seeing is only part of the picture. You can use the -e switch to display the extended permissions.

  Mac OS X (10.4.10)    
Anton Rang


Posts: 54
Registered: Jan 3, 2005
Re: What's with the @ symbol in permissions
Posted: Oct 30, 2007 11:42 AM   in response to: Camelot
 

Actually, "+" indicates the richer permission model (also known as ACLs).

The "@" sign -- which is not documented in the manual page for ls(1) -- indicates that the file has extended attributes. You can use the command 'xattr -l <filename>' to show them. It seems that a lot of Finder information, which ought to be stored in the catalog, is now in extended attributes. (Hmmm, or maybe it's actually still in the catalog file and just being exposed as extended attributes, which would make a lot of sense.)

MacBook Pro C2D, iMac C2D   Mac OS X (10.5)    
Camelot


Posts: 9,713
From: San Jose, CA
Registered: Mar 13, 2002
Re: What's with the @ symbol in permissions
Posted: Nov 1, 2007 9:49 AM   in response to: Anton Rang
 

Ack, you're right, Anton. I'm so used to that question relating to ACLs I mis-spoke :)

  Mac OS X (10.4.10)    
ebsanford

Posts: 2
From: Mississippi
Registered: Nov 8, 2007
Re: What's with the @ symbol in permissions
Posted: Nov 8, 2007 6:30 AM   in response to: Greg Hodge
 

I have found that the @ symbol appears on directories (possibly files but I haven't looked) that I have changed the Finder's icon. If the following command is issued, the directory's icon will be reset to the default:

$ xattr -d com.apple.FinderInfo <directoryName>

  Mac OS X (10.5)