mount user option

ibotty bsd at ibotty.net
Tue Sep 23 06:16:24 PDT 2003


i want to be the first one to correct me ;)

my explanation is wrong:
> regarding 1), mount will set the euid to the uid, if no user option is
> given in /etc/fstab. so the suid-bit is only set, when mounting with
> 'user'.

this is done only in mountfs.
the informative uses of mount still run with euid == 0, but it is trivial to
do so with other parts of the code. i just cannot see, why this should be
neccessary.

~ibotty






More information about the Submit mailing list