On Fri, 17 Jul 2026, Duncan McEwan wrote:

First attempt:

% mkdir test
% getfacl test
# file: test
# owner: duncan
# group: ecs
user::rwx
group::r-x
other::---
%  setfacl -d -m g::rwx test
setfacl: test: acl_calc_mask() failed: Invalid argument
setfacl: test: failed to set ACL mask
% setfacl -d -m g::rwx,m::rwx test
setfacl: test: acl_set_file() failed: Invalid argument
%


When you set an initial ACL, you have to specify values for all of them, as the
example in the man-page shows. After that you can change only the bits you want.

So,

```
$ setfacl -d -m u::rwx,g::rx,o::rx,m::rwx test          # or even, 
u::,g::rwx,o::
$ setfacl -d -m g::rwx test
```

-RVP

PS. Maybe this might need to be stated clearly in the man-page.

Reply via email to