Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm working a website we maintain, and I use Capistrano to deploy. I've kind of inherited the stuff, so I'm not the one who set everything up.

When I deploy to the server, it fails and nothing is updated. Since file permissions usually are the culprit of it failing, in my experience, I checked them for the folder I'm deploying to, and I saw something I haven't seen before: drwxrwsr-x+.

I don't know what that ending plus sign is or what it does; I assumed it was CentOS' way of denoting sticky bit, but when I ran sudo chmod -t shared, it was still there, so I guess it must not be the sticky bit.

Can someone who knows more about Linux tell me what the ending "+" is in that list of permissions?

share|improve this question
1  
It means additional permissions are available as an ACL. See [this question][1] too. [1]: superuser.com/questions/198758/… –  Fred Clausen Sep 10 '13 at 15:28
add comment

2 Answers

up vote 25 down vote accepted

From info ls, under the What information is listed? section, regarding the output produced by -l:

 A file with any other combination of alternate access methods is
 marked with a '+' character.

Generally, it means it has an ACL set.

share|improve this answer
2  
If I could +2, I would, because not only did that answer my question, I also had never heard of the info command. I've always just used cmd --help and man cmd –  Goldentoa11 Sep 10 '13 at 15:31
1  
Some people find info to be confusing to navigate because of the hyperlinking. If you dislike info, try piping it through less info foo | less to give you a familiar feel. –  Stefan Lasiewski Sep 10 '13 at 15:36
    
Goldentoa11, thanks for that. Do feel free to accept the answer, by clicking on the tick outline next to it, if you're happy with it. –  MadHatter Sep 10 '13 at 15:38
    
I install pinfo every now and then if I find myself needing to read INFO docs. It gives lynx like navigation to info docs. –  Dan Garthwaite Sep 10 '13 at 15:43
1  
Seriously, try info foo | less. It pipes everything through less, and functions very similarly to a manpage -- often the content is 99% identical. Once I found this I never looked back. –  Stefan Lasiewski Sep 12 '13 at 16:53
show 2 more comments

As stated by @MadHatter this means the File/Directory has additional right trough Access Control Lists. Usually the Owner:Group system is enough, but in some cases you need a fainer grained permission control. There comes the acl system in touch.

To see the acls on a specific file/dir simply type:

getfacl myfileordir

For changing the permissions use the setfacl command. See in the man page of it, for the proper syntax.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.