freebsd-nq/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 setfacl: style and break main() into manageable pieces 2018-04-27 15:25:24 +00:00
Makefile Explicitly add unmarked bin/ binaries to the runtime package. 2016-02-09 16:58:50 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mask.c setfacl: style and break main() into manageable pieces 2018-04-27 15:25:24 +00:00
merge.c setfacl: style and break main() into manageable pieces 2018-04-27 15:25:24 +00:00
remove.c setfacl: style and break main() into manageable pieces 2018-04-27 15:25:24 +00:00
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 setfacl: style and break main() into manageable pieces 2018-04-27 15:25:24 +00:00
util.c setfacl: add recursive functionality 2018-04-10 23:29:57 +00:00