drwx------+


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers drwx------+
# 1  
Old 08-14-2012
drwx------+

Hi

What does the + in the string

drwx------+ 3 xxxx staff 102 12 Feb 11:39:12 2012 application.app

mean? Is there a manual?

Regards
Lazy
# 2  
Old 08-14-2012
Apple Inc. has cleverly hidden information on ls in ls' own manual, accessed by man ls.

Grepping for the first + in man ls' output finds this:

Code:
   The Long Format
     If the -l option is given, the following information is displayed for
     each file: file mode, number of links, owner name, group name, number of
     bytes in the file, abbreviated month, day-of-month file was last modi-
     fied, hour file last modified, minute file last modified, and the path-
     name.  In addition, for each directory whose contents are displayed, the
     total number of 512-byte blocks used by the files in the directory is
     displayed on a line by itself, immediately before the information for the
     files in the directory.  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 secu-
     rity information (such as an access control list), the permissions field
     printed by the -l option is followed by a '+' character.

# 3  
Old 08-14-2012
It means that there is ACL defined on that directory. Check it with:
Code:
getfacl application.app

---------- Post updated at 10:36 AM ---------- Previous update was at 10:34 AM ----------

Quote:
Originally Posted by Corona688
Apple Inc. has cleverly hidden information on ls in ls' own manual, accessed by man ls.
How did you deduce that we are dealing with OSX here?
# 4  
Old 08-14-2012
Quote:
Originally Posted by bartus11
How did you deduce that we are dealing with OSX here?
Code:
drwx------+ 3 xxxx staff 102 12 Feb 11:39:12 2012 application.app

Macintosh OSX uses .app folders, don't know of anything else that does.

Also, my ls has no entry about + but apple's own does.
# 5  
Old 08-17-2012
Acess Control List

When you apply permissions to the file using Access Control List (ACL), that + sign appears.
It is usually done by the root user.
An ACL specifies, which user or system has granted access to some object or file.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

general question on executing file in drwx--x--x directory

suppose: nevermind, i figured it out, haha... (2 Replies)
Discussion started by: cul8erppl
2 Replies
Login or Register to Ask a Question