drwx------+ | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

drwx------+

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-14-2012
lazybaer lazybaer is offline
Registered User
 
Join Date: Aug 2009
Last Activity: 16 May 2013, 3:07 AM EDT
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #2  
Old 08-14-2012
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 21 October 2014, 6:30 PM EDT
Location: Saskatchewan
Posts: 19,635
Thanks: 816
Thanked 3,335 Times in 3,124 Posts
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.

Sponsored Links
    #3  
Old 08-14-2012
bartus11's Avatar
bartus11 bartus11 is offline Forum Staff  
Moderator
 
Join Date: Apr 2009
Last Activity: 21 October 2014, 2:41 PM EDT
Posts: 3,710
Thanks: 7
Thanked 1,142 Times in 1,113 Posts
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 View Post
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
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 21 October 2014, 6:30 PM EDT
Location: Saskatchewan
Posts: 19,635
Thanks: 816
Thanked 3,335 Times in 3,124 Posts
Quote:
Originally Posted by bartus11 View Post
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.
Sponsored Links
    #5  
Old 08-17-2012
PranavEcstasy PranavEcstasy is offline
Registered User
 
Join Date: Aug 2012
Last Activity: 4 September 2012, 10:44 AM EDT
Posts: 20
Thanks: 9
Thanked 1 Time in 1 Post
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.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
general question on executing file in drwx--x--x directory cul8erppl Shell Programming and Scripting 2 07-20-2005 04:19 AM



All times are GMT -4. The time now is 05:38 AM.