I use a hosting server of FreeBSD 10.3, where I don't have the authority to be the super user. I use apache2 on it for web pages of our company.The previous administrator of the web pages appeared to set ACL permission to a directory, but I want to remove it. Let us say the directory is called foobar.Now the result of 'ls -al foobar' is follow:drwxrwxr-x+   2 myuser  another_user   512 Nov 20  2013 foobarAnd the permission is as follow:[myuser@hosting_server]$ getfacl foobar# file: foobar/# owner: myuser# group: another_useruser::rwxgroup::rwxmask::rwxother::r-xHere I want to remove the ACL permission and the plus sign at the last of permission list. So, I didsetfacl -b foobarIt eliminated the special permission governed by ACL, but didn't erase the plus sign.My question is how can I erase the plus sign in the permission list, shown by 'ls -al foobar'?
How to remove ACL from a directory and back to usual access control?
permissions;acl
My problem was solved by using:setfacl -bn foobarThe point was I also have to remove the aclMask from the directory with the option -n... The man page of setfacl says as follows: -n      Do not recalculate the permissions associated with the ACL mask         entry.  This option is not applicable to NFSv4 ACLs.I'm not sure why this option worked, but it did...