aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bus-chmod.1
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-14 21:54:05 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-14 21:54:05 +0200
commitff7fe9ed7310e9426e5056fca19febbacde55401 (patch)
tree052f6785b271043902c9e3586bdae2f1e2f8abd0 /doc/bus-chmod.1
parentadd chmod, chown and chgrp to the command line tool (diff)
downloadbus-ff7fe9ed7310e9426e5056fca19febbacde55401.tar.gz
bus-ff7fe9ed7310e9426e5056fca19febbacde55401.tar.bz2
bus-ff7fe9ed7310e9426e5056fca19febbacde55401.tar.xz
doc bus-chgrp, bus-chown, and bus-chmod
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/bus-chmod.1')
-rw-r--r--doc/bus-chmod.138
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/bus-chmod.1 b/doc/bus-chmod.1
new file mode 100644
index 0000000..432ac84
--- /dev/null
+++ b/doc/bus-chmod.1
@@ -0,0 +1,38 @@
+.TH BUS-CHMOD 1 BUS-%VERSION%
+.SH NAME
+bus chmod - Change permissions on a bus
+.SH SYNOPSIS
+.B bus chmod
+.IR permissions
+.IR pathname
+.SH DESCRIPTION
+Change whom as access to a bus with an associated \fIpathname\fP.
+In the \fIpermissions\fP, the owner, the group, and others (not
+in group) are represented by the symbols \fBu\fP, \fBg\fP, and
+\fBo\fP, respectively. The \fIpermissions\fP string is imagined
+to have always be prefixed with an \fB=\fP. This symbols means
+that all user classes list after it, and only those classes, as
+permission to use the bus. Similarly the symbols \fB+\fP and
+\fB\-\fP can be used to grant and revoke access, respectively.
+The symbols \fB=\fP, \fB+\fP, and \fB\-\fP can be maked, and are
+interpreted from left to right.
+.SH EXIT STATUS
+.TP
+0
+The command was successful.
+.TP
+1
+The command failed.
+.TP
+2
+The command is not recognised.
+.SH SEE ALSO
+bus-chown(1), bus-chgrp(1)
+.SH AUTHORS
+Principal author, Mattias Andrée. See the LICENSE file for the full
+list of authors.
+.SH LICENSE
+MIT/X Consortium License.
+.SH BUGS
+Please report bugs to https://github.com/maandree/bus/issues or to
+maandree@member.fsf.org