]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount.8: clarify (no)suid behavior on file capabilities
authorPeter Wu <peter@lekensteyn.nl>
Fri, 1 Feb 2019 14:40:53 +0000 (15:40 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Apr 2019 10:20:14 +0000 (12:20 +0200)
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>
sys-utils/mount.8

index da0ac5b8b0ce315a0fd09acfdf3b754a09afca32..99a9efd82a710a8a2b88f19967d880cd80630fcd 100644 (file)
@@ -1160,12 +1160,12 @@ or
 Do not use the lazytime feature.
 .TP
 .B suid
 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
 .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.
 .TP
 .B silent
 Turn on the silent flag.