RFC: Adding a ``user'' mount option

Alex Dupre ale at FreeBSD.org
Mon Apr 3 06:23:33 UTC 2006


Colin Percival wrote:
> Generally speaking it's much better to add a new setuid program which does
> exactly what you need, rather than making an existing and possibly insecure
> program setuid.

Generally speaking I agree with you. To minimize the impact of having to
run a different 'mount' executable (that I doubt desktop environments
will likely do) it would be nice if 'mount' could automatically run
'usermount' if called by a regular user.

--
Alex Dupre


More information about the freebsd-hackers mailing list