aboutsummaryrefslogtreecommitdiffstats
path: root/bus-chown.1
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-12-11 23:13:37 +0100
committerMattias Andrée <maandree@kth.se>2017-12-11 23:13:37 +0100
commite35ba8684be9951fa2129503477ccd5ed6e4e5fc (patch)
tree756292d5a18ad6011a9311fdea8159f474385b65 /bus-chown.1
parenttypo (diff)
downloadbus-e35ba8684be9951fa2129503477ccd5ed6e4e5fc.tar.gz
bus-e35ba8684be9951fa2129503477ccd5ed6e4e5fc.tar.bz2
bus-e35ba8684be9951fa2129503477ccd5ed6e4e5fc.tar.xz
Simplify, do not install examples or info manual, and change license3.1.7
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'bus-chown.1')
-rw-r--r--bus-chown.132
1 files changed, 32 insertions, 0 deletions
diff --git a/bus-chown.1 b/bus-chown.1
new file mode 100644
index 0000000..c6d9056
--- /dev/null
+++ b/bus-chown.1
@@ -0,0 +1,32 @@
+.TH BUS-CHOWN 1 BUS
+.SH NAME
+bus chown - Change ownership of a bus
+.SH SYNOPSIS
+.B bus chown
+.IR owner [\fB:\fP group ]
+.IR pathname
+.SH DESCRIPTION
+Change the owner, that owns a bus with an associated \fIpathname\fP,
+to the specified \fIowner\fP. The \fIowner\fP can be specified either
+with a UID or with a user name. If a \fIgroup\fP is specified, the
+bus's owner-group will be set to that \fIgroup\fP, otherwise the group
+will remain unchanged. The \fIgroup\fP can be specified either with
+a GID or with a group name.
+.PP
+The current ownership of a bus can be retrieved by running
+.BR stat (1)
+over the \fIpathname\fP of the bus.
+.SH EXIT STATUS
+.TP
+0
+The command was successful.
+.TP
+1
+The command failed.
+.TP
+2
+The command is not recognised.
+.SH SEE ALSO
+.BR bus-chgrp (1),
+.BR bus-chmod (1),
+.BR stat (1)