file/directory permissions trailing + ( drwxr-xr-x+ )

Viewed 35733

I have a directory with strange permissions ( drwxr-xr-x+ ) - trailing ( + ) as 11th character, which seems to force all the files and subdirectories to assume rwxrwxrwx permissions, Following is the permissions.

drwxr-x---+  3 root root 4096 Dec 22 15:33 directory

I want to get rid of this trailing ( + ). I have tried following .

chmod 755 directory/
chmod a-x directory/
chmod u=rwx,g=rw,o=x directory/

I have tried following as well :

sudo chmod u=rwx,g=rx,o-x,u-s,g-s    directory/

Any help will be appreciated . Thanks - I am stuck .

3 Answers

setfacl -b directory

Remove all extended ACL entries. The base ACL entries of the owner, group and others are retained.

Related