Print group name in getfacl output when calculating an effective
permission set based on a more restrictive mask. Submitted by: Glen Gibb <grg@ridley.unimelb.edu.au>
This commit is contained in:
parent
0ff67a254e
commit
82fefada64
@ -177,9 +177,10 @@ acl_to_text(acl_t acl, ssize_t *len_p)
|
||||
effective_perm_buf);
|
||||
if (error)
|
||||
goto error_label;
|
||||
len = asprintf(&tmpbuf, "%sgroup::%s\t\t# "
|
||||
len = asprintf(&tmpbuf, "%sgroup:%s:%s\t\t# "
|
||||
"effective: %s\n",
|
||||
buf, perm_buf, effective_perm_buf);
|
||||
buf, name_buf, perm_buf,
|
||||
effective_perm_buf);
|
||||
} else {
|
||||
len = asprintf(&tmpbuf, "%sgroup:%s:%s\n", buf,
|
||||
name_buf, perm_buf);
|
||||
|
Loading…
Reference in New Issue
Block a user