setfacl remove group permission setfacl remove group permission unix unix

setfacl remove group permission


The group:acct entry is listed with default: in front, and the setfacl man page suggests that the ACL specification can be (spaces added for clarity in the man page):

[d[efault]:] g[roup]:gid [:perms]

Permissions of a named group. Permissions of the owning group if gid is empty.

I think you should try:

setfacl -x d:g:acct public


 setfacl -Rm g::--- diectoryname


According to https://linux.die.net/man/1/setfacl using -k will remove default ACL permissions.

Here is a sample of how I just removed defaults from a directory:

SSH: getfacl .# file: .# owner: root# group: docker# flags: -s-user::rwxgroup::rwxother::r-xdefault:user::rwxdefault:group::rwxdefault:other::r-x00:01:42SSH: sudo setfacl -k .00:01:45SSH: getfacl .# file: .# owner: root# group: docker# flags: -s-user::rwxgroup::rwxother::r-x