freebsd-skq/bin/setfacl
Edward Tomasz Napierala 6e924edbde Fix an error in setfacl(1) that manifested like this:
# setfacl -m u:trasz:rwx x
# setfacl -m u:root:rwx x
# getfacl x
# file: x
# owner: root
# group: wheel
user::rw-
user:root:rwx
user:trasz:rwx
group::r--
mask::rwx
other::r--
# setfacl -m u:root:rwx x
setfacl: x: acl_calc_mask() failed: Invalid argument
setfacl: x: failed to set ACL mask

For NFSv4 ACLs, this sort of situation would result in duplicated
entries.

MFC after:	1 month
2012-09-04 12:19:34 +00:00
..
file.c
Makefile
mask.c
merge.c Fix an error in setfacl(1) that manifested like this: 2012-09-04 12:19:34 +00:00
remove.c
setfacl.1
setfacl.c Make "setfacl -bd" an alias for "setfacl -k". Previously it would crash 2012-09-04 11:50:13 +00:00
setfacl.h
util.c