From 19944227528502e3619a6d1557bc735224f6fef6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 6 Oct 2019 11:44:06 +0200 Subject: system: Add 'mount' and 'umount' to '%setuid-programs'. Fixes . Reported by Diego Nicola Barbato . * gnu/system.scm (%setuid-programs): Add "mount" and "umount" from util-linux. --- gnu/system.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/system.scm b/gnu/system.scm index c860c22433..c57b302c4e 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -825,7 +825,12 @@ use 'plain-file' instead~%") (file-append inetutils "/bin/ping6") (file-append sudo "/bin/sudo") (file-append sudo "/bin/sudoedit") - (file-append fuse "/bin/fusermount")))) + (file-append fuse "/bin/fusermount") + + ;; To allow mounts with the "user" option, "mount" and "umount" must + ;; be setuid-root. + (file-append util-linux "/bin/mount") + (file-append util-linux "/bin/umount")))) (define %sudoers-specification ;; Default /etc/sudoers contents: 'root' and all members of the 'wheel' -- cgit v1.2.3