allowing non root users to mount
freebsd-questions-local at be-well.no-ip.com
Fri Aug 29 12:01:19 PDT 2003
Desmond Lee <desmond.lee at shaw.ca> writes:
> I followed the instructions on the FAQ section about making non-root
> users able to mount file systems and that worked fine, but it only works
> if the target of the mounting point is accessible by that user.
Right. You want that for security reasons.
> So, 'mount -t msdos /dev/fd0 ~/myFloppy'
> would only work if ~/myFloppy was a directory that was accessible by the
> user who executed the mount command. Thus, if you were a non-root user
> the stuff in the /etc/fstab would not be useful since the target of the
> mount commands were only accessible by the root.
Make the common mount point accessible to the console user. fbtab(5)
(or xdm's 'GiveConsole' script, etc.) will help here.
More information about the freebsd-questions