]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
setfacl: add recursive functionality
authoremaste <emaste@FreeBSD.org>
Tue, 10 Apr 2018 23:29:57 +0000 (23:29 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 10 Apr 2018 23:29:57 +0000 (23:29 +0000)
commit9d834e6c49d73329ed3f91eeccb003f050da6029
tree058e16bd1332149b307f1c0931d086953de64a3c
parent8bc74843ea38b19017621319c4c0648d42d97edc
setfacl: add recursive functionality

Add a -R option to setfacl to operate recursively on directories, along
with the accompanying flags -H, -L, and -P (whose behaviour mimics
chmod).

A patch was submitted with PR 155163, but this is a new implementation
based on comments raised in the Phabricator review for that patch
(review D9096).

PR: 155163
Submitted by: Mitchell Horne <mhorne063@gmail.com>
Reviewed by: jilles
MFC after: 2 weeks
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D14934
bin/setfacl/setfacl.1
bin/setfacl/setfacl.c
bin/setfacl/setfacl.h
bin/setfacl/util.c