1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/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 Switch to our preferred license text. 2010-03-07 07:59:05 +00:00
Makefile
mask.c Switch to our preferred license text. 2010-03-07 07:59:05 +00:00
merge.c Fix an error in setfacl(1) that manifested like this: 2012-09-04 12:19:34 +00:00
remove.c Switch to our preferred license text. 2010-03-07 07:59:05 +00:00
setfacl.1 Fix compact form of "synchronize" permission in setfacl(1) manual page - it 2012-09-03 17:26:20 +00:00
setfacl.c Make "setfacl -bd" an alias for "setfacl -k". Previously it would crash 2012-09-04 11:50:13 +00:00
setfacl.h Switch to our preferred license text. 2010-03-07 07:59:05 +00:00
util.c Switch to our preferred license text. 2010-03-07 07:59:05 +00:00