GNU bug report logs -
#37569
Mount does not honor 'user' option.
Previous Next
Full log
View this message in rfc822 format
Diego Nicola Barbato <dnbarbato <at> posteo.de> writes:
> Hello Danny,
>
> Danny Milosavljevic <dannym <at> scratchpost.org> writes:
>
>> Hmm, how is that solved with other distributions? Is "mount" suid root there?
>
> Indeed, in Debian both mount and umount are suid root:
>
> $ stat -c "%a %U:%G %n" /bin/*mount
> 4755 root:root /bin/fusermount
> 4755 root:root /bin/mount
> 4755 root:root /bin/umount
I've tried adding "mount" and "umount" to `setuid-programs' in my
operating-system config:
--8<---------------cut here---------------start------------->8---
(setuid-programs (cons*
#~(string-append #$util-linux "/bin/mount")
#~(string-append #$util-linux "/bin/umount")
%setuid-programs))
--8<---------------cut here---------------end--------------->8---
Mounting as an unprivileged user now works as expected (even the fancy
9p stuff). Is there any rationale for not adding "mount" and "umount"
to `%setuid-programs' by default?
Thanks,
Diego
This bug report was last modified 5 years and 231 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.