summaryrefslogtreecommitdiffstats
path: root/bin/setfacl
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2011-04-09 07:42:25 +0000
committertrasz <trasz@FreeBSD.org>2011-04-09 07:42:25 +0000
commit53df99cb04d122b1b04e1eaead2a28c2564f9167 (patch)
treeecf2850480d4ace064d5cc928e818761594365ca /bin/setfacl
parent6eed38b749e4cfed384b77916273d9e115b4071f (diff)
downloadFreeBSD-src-53df99cb04d122b1b04e1eaead2a28c2564f9167.zip
FreeBSD-src-53df99cb04d122b1b04e1eaead2a28c2564f9167.tar.gz
Make it possible to use permission sets (full_set, modify_set, read_set
and write_set) with setfacl(1). PR: kern/154113 Submitted by: Shawn Webb <lattera at gmail dot com> (earlier version) MFC after: 1 month
Diffstat (limited to 'bin/setfacl')
-rw-r--r--bin/setfacl/setfacl.119
1 files changed, 17 insertions, 2 deletions
diff --git a/bin/setfacl/setfacl.1 b/bin/setfacl/setfacl.1
index 49ccf9f..bf505ca 100644
--- a/bin/setfacl/setfacl.1
+++ b/bin/setfacl/setfacl.1
@@ -1,5 +1,6 @@
.\"-
.\" Copyright (c) 2001 Chris D. Faulhaber
+.\" Copyright (c) 2011 Edward Tomasz NapieraƂa
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -25,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 27, 2010
+.Dd April 9, 2011
.Dt SETFACL 1
.Os
.Sh NAME
@@ -307,7 +308,7 @@ Permissions in long form are separated by the
.Ql /
character; in short form, they are concatenated together.
Valid permissions are:
-.Bl -tag -width ".Dv short"
+.Bl -tag -width ".Dv modify_set"
.It Short
Long
.It r
@@ -339,6 +340,20 @@ write_owner
.It S
synchronize
.El
+.Pp
+In addition, the following permission sets may be used:
+.Bl -tag -width ".Dv modify_set"
+.It Set
+Permissions
+.It full_set
+all permissions, as shown above
+.It modify_set
+all permissions except write_acl and write_owner
+.It read_set
+read_data, read_attributes, read_xattr and read_acl
+.It write_set
+write_data, append_data, write_attributes and write_xattr
+.El
.It Ar "ACL inheritance flags"
Inheritance flags may be specified in either short or long form.
Short and long forms may not be mixed.
OpenPOWER on IntegriCloud