aboutsummaryrefslogtreecommitdiff
path: root/bin/setfacl/util.c
Commit message (Collapse)AuthorAgeFilesLines
* setfacl: add recursive functionalityEd Maste2018-04-101-0/+11
| | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=332396
* Switch to our preferred license text.Joel Dahl2010-03-071-8/+8
| | | | | | | Approved by: jedgar Notes: svn path=/head/; revision=204819
* Fix breakage introduced in last commit.Edward Tomasz Napierala2009-12-261-1/+1
| | | | Notes: svn path=/head/; revision=201018
* Improve ACL branding mismatch detection and reporting in some rare cases,Edward Tomasz Napierala2009-12-261-0/+23
| | | | | | | such as "setfacl -m ''". Notes: svn path=/head/; revision=201016
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-101-1/+1
| | | | Notes: svn path=/head/; revision=139969
* Consistently use FBSDIDDavid E. O'Brien2002-06-301-2/+3
| | | | Notes: svn path=/head/; revision=99110
* style(9) cleanups mostly consisting of:Chris D. Faulhaber2001-12-031-3/+2
| | | | | | | | | | | | o explicitly check return values and variables against a value o return x; -> return (x); o fix inconsistent sysexits usage by nuking it (partially suggested by bde) Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=87254
* o Correct error message forgotten in the last commit (malloc() -> calloc())Chris D. Faulhaber2001-12-021-3/+2
| | | | | | | | | o Fix style nits Submitted by: bde Notes: svn path=/head/; revision=87224
* Use calloc(3) instead of rolling our own.Chris D. Faulhaber2001-12-021-2/+1
| | | | Notes: svn path=/head/; revision=87181
* o POSIX.2c Userland tool support for POSIX.1e ACLs -- getfacl retrieves ACLsRobert Watson2001-03-191-0/+47
from files and directories, and setfacl sets ACLs on files and directories. Submitted by: jedgar Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=74465