freebsd-dev/bin/setfacl
Mark Johnston 15e594351a Don't set NFSv4 ACL inheritance flags on non-directories.
They only make sense in the context of directory ACLs, and attempting
to set them on regular files results in errors, causing a recursive
setfacl invocation to abort.

This is derived from patches by Shawn Webb <shawn.webb@hardenedbsd.org>
and Mitchell Horne <mhorne063@gmail.com>.

PR:		155163
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D15061
2018-10-26 21:17:06 +00:00
..
file.c
Makefile
Makefile.depend
mask.c
merge.c
remove.c
setfacl.1 Don't set NFSv4 ACL inheritance flags on non-directories. 2018-10-26 21:17:06 +00:00
setfacl.c Don't set NFSv4 ACL inheritance flags on non-directories. 2018-10-26 21:17:06 +00:00
setfacl.h
util.c