PDA

View Full Version : Chmod




R.R.Mac
Apr 8, 2011, 06:03 AM
I've been playing about with chmod and have picked up everything except for this which I don't quite understand:

You can have a normal file permissions like this:
drwxr-xr-x

which i understand, however using ls -l some of the directories have this:
drwxr-xr-x+

What does the + on the end mean?

Thanks.



jiminaus
Apr 8, 2011, 06:33 AM
From the ls man page:


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 (such as an access control list), the permissions field printed by the -l option is followed by a '+' character.



Include -e in ls to see the ACL info. Include -@ in ls to see the extended attributes.