Browse Source

system: Add 'mount' and 'umount' to '%setuid-programs'.

Fixes <https://bugs.gnu.org/37569>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.

* gnu/system.scm (%setuid-programs): Add "mount" and "umount" from
util-linux.
gn-latest-20200428
Ludovic Courtès 2 years ago
parent
commit
1994422752
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 7
      gnu/system.scm

7
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'

Loading…
Cancel
Save