Robert Watson
8051fddedc
Add "-h" arguments to getfacl and setfacl, which behave in a manner
...
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
2002-12-30 15:36:29 +00:00
Tim J. Robbins
4e65ab954d
- Consistent use of warn() vs. perror().
...
- 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
2002-11-03 23:22:34 +00:00
David E. O'Brien
5eb43ac2f7
Consistently use __FBSDID
2002-06-30 05:13:54 +00:00
Mark Murray
fab912df88
Partially fix (well, work around) warnings inspired by lint, a
...
commercial lint and WARNS=4.
2002-02-22 21:02:58 +00:00
David E. O'Brien
a748290789
Default to WARNS=2. Binary builds that cannot handle this must explicitly
...
set WARNS=0.
Reviewed by: mike
2001-12-04 01:57:47 +00:00
Robert Watson
9331ef537f
o Update licenses, comments.
...
Obtained from: TrustedBSD Project
2001-11-16 15:59:46 +00:00
Dima Dorfman
b91c884fda
Set WARNS=2 on programs which compile cleanly.
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-07-15 10:30:46 +00:00
Kris Kennaway
28bf320298
Silence warnings on alpha. Unfortunately we can't add WARNS to this
...
because of that stupid mode_t warning bug.
MFC After: 1 week
2001-05-20 04:47:55 +00:00
Ruslan Ermilov
eb0838029f
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
Chris D. Faulhaber
7a832d4392
Convert getfacl to the ACL editing library functions. getfacl should
...
now compile/work on any POSIX.1e-compliant implementation (also tested
against the current Linux patches).
Review by: rwatson
Obtained from: TrustedBSD Project
2001-04-13 19:24:28 +00:00
Chris D. Faulhaber
fb1af1f2bf
Correct the following defines to match the POSIX.1e spec:
...
ACL_PERM_EXEC -> ACL_EXECUTE
ACL_PERM_READ -> ACL_READ
ACL_PERM_WRITE -> ACL_WRITE
Obtained from: TrustedBSD
2001-04-11 02:19:01 +00:00
Thomas Moestl
843f999ce2
setfacl and getfacl no longer need to link against libposix1e, since it
...
has been integrated into libc.
Approved by: rwatson
Obtained from: TrustedBSD Project
2001-04-04 18:20:08 +00:00
Ruslan Ermilov
03035079c0
mdoc(7) police: fix markup and some spelling.
2001-03-23 08:14:27 +00:00
Chris D. Faulhaber
7ff9edbb0b
Remove extra CFLAGS and redundant SRCS
...
Add DPADD
Submitted by: bde
2001-03-20 02:54:41 +00:00
Chris D. Faulhaber
6371776c8e
Remove 'NOSHARED=yes' (../Makefile.inc already sets this)
2001-03-19 21:18:48 +00:00
Robert Watson
09ef2e46f9
o Missed in prior commit: getfacl(1) Makefile
2001-03-19 18:58:16 +00:00
Robert Watson
43960f159d
o POSIX.2c Userland tool support for POSIX.1e ACLs -- getfacl retrieves ACLs
...
from files and directories, and setfacl sets ACLs on files and directories.
Submitted by: jedgar
Obtained from: TrustedBSD Project
2001-03-19 18:09:25 +00:00