rwatson
41ffbf0586
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
obrien
3ba7184ea6
Consistently use FBSDID
2002-06-30 05:15:05 +00:00
jedgar
01be043514
Remove extraneous blank line
2002-02-19 02:36:35 +00:00
jedgar
cd6687b75a
Use acl_dup() to duplicate an ACL instead of rolling our own
2002-02-19 02:36:15 +00:00
jedgar
75b302ebb5
Use a more correct method of copying entire ACLs (fixes
...
operation under Linux).
2002-02-03 02:37:43 +00:00
ru
330ea8841d
Spelling.
2001-12-04 14:20:46 +00:00
obrien
3e1e2dd6aa
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
jedgar
4afcd05b7a
Move the code merging ACL_USER and ACL_GROUP objects from under
...
two nested while loops into a separate function.
Obtained from: TrustedBSD Project
2001-12-03 02:24:24 +00:00
jedgar
81e9e79189
Add defines for access and default ACLs (ACCESS_ACL/DEFAULT_ACL)
...
to enhance readability.
Obtained from: TrustedBSD Project
2001-12-03 01:20:52 +00:00
jedgar
29e267fd78
style(9) cleanups mostly consisting of:
...
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
2001-12-03 00:51:36 +00:00
jedgar
a9e7540413
Correct example to remove *all* extended ACL entries and
...
clarify description.
2001-12-03 00:27:15 +00:00
jedgar
87b217a4a8
o Expand the explaination of the -b option WRT the resulting
...
group ACL entry in relation to the existing group and mask
ACL entries.
o Move the explanation of multiple ACL entries on the command
line to the ACL ENTRIES section.
Obtained from: TrustedBSD Project
2001-12-02 18:46:33 +00:00
jedgar
1a4b296a16
o Correct error message forgotten in the last commit (malloc() -> calloc())
...
o Fix style nits
Submitted by: bde
2001-12-02 18:15:53 +00:00
jedgar
c3e0cfa4d5
Use calloc(3) instead of rolling our own.
2001-12-02 01:52:34 +00:00
ru
e6bcd7b5b8
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
dd
ec59248b42
WARNS= -> WARNS?=
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-22 21:38:30 +00:00
kris
8873eb2796
Silence WARNS=2 and BDECFLAGS on alpha and i386
...
MFC After: 1 week
2001-05-20 05:13:21 +00:00
jedgar
fac3b3a951
Correct assignment of the resulting ACL allowing the mask entry to
...
be properly set.
Obtained from: TrustedBSD Project
2001-05-03 03:17:44 +00:00
jedgar
5b3da70b70
o Separate acl_t into internal and external representations as
...
required by POSIX.1e. This maintains the current 'struct acl'
in the kernel while providing the generic external acl_t
interface required to complete the ACL editing library.
o Add the acl_get_entry() function.
o Convert the existing ACL utilities, getfacl and setfacl, to
fully make use of the ACL editing library.
Obtained from: TrustedBSD Project
2001-04-24 22:45:41 +00:00
ru
1db489053b
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
tmm
64200e310b
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
ru
4087def52f
mdoc(7) police: fix markup and some spelling.
2001-03-23 08:14:27 +00:00
jedgar
defb1e08ce
Remove extra CFLAGS
...
Add DPADD
Submitted by: bde
2001-03-20 02:55:43 +00:00
jedgar
3acc61edfc
Remove 'NOSHARED=yes' (../Makefile.inc already sets this)
2001-03-19 21:18:48 +00:00
rwatson
97b3747b7e
o Missed in addition of setfacl.h in setfacl(1)
2001-03-19 18:59:36 +00:00
rwatson
0bd2898eb2
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