[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37569: Mount does not honor 'user' option.
From: |
Ludovic Courtès |
Subject: |
bug#37569: Mount does not honor 'user' option. |
Date: |
Sun, 06 Oct 2019 14:46:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
Diego Nicola Barbato <address@hidden> skribis:
> I've tried adding "mount" and "umount" to `setuid-programs' in my
> operating-system config:
>
> (setuid-programs (cons*
> #~(string-append #$util-linux "/bin/mount")
> #~(string-append #$util-linux "/bin/umount")
> %setuid-programs))
>
> Mounting as an unprivileged user now works as expected (even the fancy
> 9p stuff).
Cool!
> Is there any rationale for not adding "mount" and "umount" to
> `%setuid-programs' by default?
No, especially since they perform the right checks and error out with
“only root can do that” when needed.
I added them in commit 19944227528502e3619a6d1557bc735224f6fef6.
Thanks!
Ludo’.