1834379 Members
2369 Online
110066 Solutions
New Discussion

File permission question

 
Masaki Birchmier
Frequent Advisor

File permission question

Does anyone know what the "+" means as in...
drwxrwxr_x+
It appeared on a directory structure that's also a Samba share.
How do I get rid of it?

Masaki
6 REPLIES 6
Helen French
Honored Contributor

Re: File permission question

A + sign means that the particular file has some additional permissions with it. For eg: ACL (access control list) permissions.

If it's ACL permissions, you can check it with 'lsacl' command. Also in shares, you can check the permission from Windows sessions or from SWAT in CIFS.
Life is a promise, fulfill it!
Patrick Wallek
Honored Contributor

Re: File permission question

The + at the end means you are using ALCs (Access Control Lists) to grant / deny more permissions to that particular directory.

Have a look at man pages for the 'getacl' and 'setacl' commands for more information.
Dave Hutton
Honored Contributor

Re: File permission question

The ls man page says:

Access Control Lists (ACLs)
If a file has optional ACL entries, the -l (ell) option displays a
plus sign (+) after the file's permissions.

Dave
A. Clay Stephenson
Acclaimed Contributor

Re: File permission question

This means that Access Control Lists (ACL's) attributes have been set for this file/directory.

If this is a vxfs filesystem, you use setacl to "get rid" of it; otherwise a chacl command is used. Man getacl, setacl, lsacl, chacl as appropriate. Generally, ACL's are set for a reason so know what you are doing.
If it ain't broke, I can fix that.
Ashwani Kashyap
Honored Contributor

Re: File permission question

+ sign means there are additional acces permissions granted to that file or directory other than the regular -rwx for owner , group and others . These are called ACL or access control lists .

If its JFS do
#getacl filename or directory name to see the additional access granted .
Masaki Birchmier
Frequent Advisor

Re: File permission question

Thanks All,
That's what I needed, I'll take it from here...

Masaki