diff options
author | Peter Wu | 2019-02-01 15:40:53 +0100 |
---|---|---|
committer | Peter Wu | 2019-02-01 15:44:20 +0100 |
commit | 9de7fe4a3d5ea9b495ccd19eed9abe11da844b81 (patch) | |
tree | 58580ea3218d2aab092d3e93db52025d2ad9b9c0 /sys-utils | |
parent | sfdisk: fix logical partition resize when start specified (diff) | |
download | kernel-qcow2-util-linux-9de7fe4a3d5ea9b495ccd19eed9abe11da844b81.tar.gz kernel-qcow2-util-linux-9de7fe4a3d5ea9b495ccd19eed9abe11da844b81.tar.xz kernel-qcow2-util-linux-9de7fe4a3d5ea9b495ccd19eed9abe11da844b81.zip |
mount.8: clarify (no)suid behavior on file capabilities
Clarify that the nosuid option also affects file capabilities and that
it only limits execution of programs. (setgid on directories still
inherit the group regardless of the nosuid option.) The new text is
taken from the mount(2) manual page from the man-pages project.
Addresses: https://github.com/karelzak/util-linux/issues/482
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'sys-utils')
-rw-r--r-- | sys-utils/mount.8 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 73d816c30..379392b9b 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -1164,12 +1164,12 @@ or Do not use the lazytime feature. .TP .B suid -Allow set-user-ID or set-group-ID bits to take -effect. +Honor set-user-ID and set-group-ID bits or file capabilities when +executing programs from this filesystem. .TP .B nosuid -Do not allow set-user-ID or set-group-ID bits to take -effect. +Do not honor set-user-ID and set-group-ID bits or file capabilities when +executing programs from this filesystem. .TP .B silent Turn on the silent flag. |