]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't set NFSv4 ACL inheritance flags on non-directories.
authormarkj <markj@FreeBSD.org>
Fri, 26 Oct 2018 21:17:06 +0000 (21:17 +0000)
committermarkj <markj@FreeBSD.org>
Fri, 26 Oct 2018 21:17:06 +0000 (21:17 +0000)
commit2793a1859982c5b7de10bd12096efa26a16936c4
treea5c10875dfd201c75d72092a24b6f6d227e5a213
parent8397e600b68261850d5898935d67bb2c19e07abb
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
bin/setfacl/setfacl.1
bin/setfacl/setfacl.c