12

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?

Flow
  • 1,099
Goldentoa11
  • 217
  • 1
  • 2
  • 8

2 Answers2

28

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.

MadHatter
  • 81,580
12

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.