Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here's an example

drwxr-xr-x+  6 reza reza        204 Mar  5 20:23 .ssh/

Although I am the owner of this directory, I cannot modify it without using sudo!

Why is that? how can I remove '+' here (assuming that is the problem)?

share|improve this question
In the future, please don't cross-post across multiple Stack Exchange sites. Thank you! – slhck Mar 10 '12 at 21:44
If it's a MacOS question, please tag appropriately. – krlmlr Mar 11 '12 at 0:16
up vote 7 down vote accepted

The + is an indicator that there is an extended file ACL applied to that file.

On Linux you want getfacl(1) to read that, and my guess is that the ACL is what blocks your access to modify the directory.

On MacOS you want chmod(1), which has an extended command-line language to get and set ACL entries on files.

share|improve this answer
You're right that it's related to ACL. But i'm running Mac OS X 10.6 and getfacl or setfacl are not available (as well as chmod -N)... – Reza Toghraee Mar 10 '12 at 19:15
I completely didn't consider the platform; added those details to the comment, but chmod readsecurity and writesecurity are the tools instead. – Daniel Pittman Mar 10 '12 at 19:21
actually the -N in chmod is invisible to all users (including sudoers for the exception of 'root' user... Thanks for the help though – Reza Toghraee Mar 10 '12 at 20:18
The plus stands for ACLs as noted above, but you may need to use chattr as well. – Not a Name Mar 10 '12 at 20:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .