summaryrefslogtreecommitdiffstats
path: root/bin/getfacl/getfacl.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix warnings found by -Wmising-variable-declarations.ed2012-10-191-1/+1
| | | | | | | | | | | This self-written compiler warning, which is hopefully going to be committed into LLVM sources soon, warns about potentially missing `static' keywords, similar to -Wmissing-prototypes. - bin/pax: Move external declaration of chdname and s_mask into extern.h. - bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h. - sbin/mount_fusefs: Remove char *progname; use getprogname(). - others: add `static' where possible.
* Add NFSv4 ACL support to getfacl(1).trasz2009-09-041-15/+58
| | | | Reviewed by: rwatson
* Use owner name and owning group name instead of uid and gidkevlo2007-09-191-2/+30
| | | | | | | for displaying the three-line comment header by default. Reviewed by: kientzle Approved by: re (bmah)
* Add "-q" argument to getfacl(1), which suppresses the per-file headerrwatson2006-03-131-10/+16
| | | | | | | comment listing the file name, owner, and group. MFC after: 1 week Submitted by: Jan Srzednicki <w at expro dot pl>
* Sync program's usage() with manpage's SYNOPSIS.ru2005-02-091-1/+1
|
* Add "-h" arguments to getfacl and setfacl, which behave in a mannerrwatson2002-12-301-11/+22
| | | | | | | similar to "-h" on chown, chmod, etc, causing the operation to occur on a final symlink in the provided path, rather than its target. Obtained from: TrustedBSD Project
* - Consistent use of warn() vs. perror().tjr2002-11-031-9/+8
| | | | | | | | | | - Gracefully handle the case where standard input is missing a newline at EOF. - Exit with status 1 instead of -1 (really 255) on error. - Add a Diagnostics section to the manual page documenting exit status. Approved by: rwatson
* Consistently use __FBSDIDobrien2002-06-301-2/+5
|
* Partially fix (well, work around) warnings inspired by lint, amarkm2002-02-221-2/+2
| | | | commercial lint and WARNS=4.
* o Update licenses, comments.rwatson2001-11-161-0/+2
| | | | Obtained from: TrustedBSD Project
* Silence warnings on alpha. Unfortunately we can't add WARNS to thiskris2001-05-201-1/+2
| | | | | | because of that stupid mode_t warning bug. MFC After: 1 week
* Convert getfacl to the ACL editing library functions. getfacl shouldjedgar2001-04-131-23/+71
| | | | | | | | now compile/work on any POSIX.1e-compliant implementation (also tested against the current Linux patches). Review by: rwatson Obtained from: TrustedBSD Project
* Correct the following defines to match the POSIX.1e spec:jedgar2001-04-111-9/+9
| | | | | | | | ACL_PERM_EXEC -> ACL_EXECUTE ACL_PERM_READ -> ACL_READ ACL_PERM_WRITE -> ACL_WRITE Obtained from: TrustedBSD
* o POSIX.2c Userland tool support for POSIX.1e ACLs -- getfacl retrieves ACLsrwatson2001-03-191-0/+201
from files and directories, and setfacl sets ACLs on files and directories. Submitted by: jedgar Obtained from: TrustedBSD Project
OpenPOWER on IntegriCloud