From c1bd4ebe7f0399478a64f00272a937819566a915 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 May 2015 13:38:00 +0200 Subject: mentions stat in manpages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/bus-chgrp.1 | 7 ++++++- doc/bus-chmod.1 | 7 ++++++- doc/bus-chown.1 | 7 ++++++- doc/bus_chmod.3 | 7 ++++++- doc/bus_chown.3 | 7 ++++++- 5 files changed, 30 insertions(+), 5 deletions(-) diff --git a/doc/bus-chgrp.1 b/doc/bus-chgrp.1 index 2ae0307..d825e32 100644 --- a/doc/bus-chgrp.1 +++ b/doc/bus-chgrp.1 @@ -10,6 +10,10 @@ bus chgrp - Change group ownership of a bus Change the group, that owns a bus with an associated \fIpathname\fP, to the specified \fIgroup\fP. 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 @@ -22,7 +26,8 @@ The command failed. The command is not recognised. .SH SEE ALSO .BR bus-chown (1), -.BR bus-chmod (1) +.BR bus-chmod (1), +.BR stat (1) .SH AUTHORS Principal author, Mattias Andrée. See the LICENSE file for the full list of authors. diff --git a/doc/bus-chmod.1 b/doc/bus-chmod.1 index fd88072..24f97e6 100644 --- a/doc/bus-chmod.1 +++ b/doc/bus-chmod.1 @@ -21,6 +21,10 @@ string can be a octal number, where the owner is represented by any bit in 700 (100, 200, or 400, or any combination thereof), the group is represented by any bit in 70, and others (not in the group) is represented by any bit in 7. +.PP +The current permissions of a bus can be retrieved by running +.BR stat (1) +over the \fIpathname\fP of the bus. .SH EXIT STATUS .TP 0 @@ -33,7 +37,8 @@ The command failed. The command is not recognised. .SH SEE ALSO .BR bus-chown (1), -.BR bus-chgrp (1) +.BR bus-chgrp (1), +.BR stat (1) .SH AUTHORS Principal author, Mattias Andrée. See the LICENSE file for the full list of authors. diff --git a/doc/bus-chown.1 b/doc/bus-chown.1 index 2436558..24487a1 100644 --- a/doc/bus-chown.1 +++ b/doc/bus-chown.1 @@ -13,6 +13,10 @@ 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 @@ -25,7 +29,8 @@ The command failed. The command is not recognised. .SH SEE ALSO .BR bus-chgrp (1), -.BR bus-chmod (1) +.BR bus-chmod (1), +.BR stat (1) .SH AUTHORS Principal author, Mattias Andrée. See the LICENSE file for the full list of authors. diff --git a/doc/bus_chmod.3 b/doc/bus_chmod.3 index 330a9d9..c2ac3f9 100644 --- a/doc/bus_chmod.3 +++ b/doc/bus_chmod.3 @@ -26,6 +26,10 @@ access to the bus. Otherwise the group should have no access. If (\fImode\fP &S_IRWXO) others (except the group) should be given read and write access to the bus. Otherwise others should have no access. +.PP +The current permissions of a bus can be retrieved by running +.BR stat (3) +over the \fIpathname\fP of the bus. .SH RETURN VALUES Upon successful completion, the function returns 0. Otherwise the function returns -1 and sets \fIerrno\fP to indicate the error. @@ -48,7 +52,8 @@ as well as any errors specified for the \fIIPC_STAT\fP and .BR bus (5), .BR libbus (7), .BR bus_open (3), -.BR bus_read (3) +.BR bus_read (3), +.BR stat (3) .SH AUTHORS Principal author, Mattias Andrée. See the LICENSE file for the full list of authors. diff --git a/doc/bus_chown.3 b/doc/bus_chown.3 index 186e937..fcde96b 100644 --- a/doc/bus_chown.3 +++ b/doc/bus_chown.3 @@ -13,6 +13,10 @@ The .BR bus_chown () function change the owner and the group of the bus associated with \fIfile\fP to the \fIowner\fP and \fIgroup\fP, respectively. +.PP +The current ownership of a bus can be retrieved by running +.BR stat (3) +over the \fIpathname\fP of the bus. .SH RETURN VALUES Upon successful completion, the function returns 0. Otherwise the function returns -1 and sets \fIerrno\fP to indicate the error. @@ -35,7 +39,8 @@ as well as any errors specified for the \fIIPC_STAT\fP and .BR bus (5), .BR libbus (7), .BR bus_open (3), -.BR bus_read (3) +.BR bus_read (3), +.BR stat (3) .SH AUTHORS Principal author, Mattias Andrée. See the LICENSE file for the full list of authors. -- cgit v1.2.3-70-g09d2