Date: 29 Aug 2003 18:57:06 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com> To: Desmond Lee <desmond.lee@shaw.ca> Cc: freebsd-questions@freebsd.org Subject: Re: allowing non root users to mount Message-ID: <44isogt6m5.fsf@be-well.ilk.org> In-Reply-To: <44n0dst6ul.fsf@be-well.ilk.org> References: <000801c36e78$fda8e0e0$6501a8c0@croydon> <44n0dst6ul.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com> writes: > Desmond Lee <desmond.lee@shaw.ca> writes: > > > I don't understand how editing /etc/fbtab will help me provide a > > mounting point that is accessible to everyone. I believe that fbtab will > > just set the permissions of the device to whatever is specified in that > > file. > > Yes, but it can also set the ownership of the directory. Users can > only mount onto directories that they own (this is mentioned a number > of times in the FAQ entry, as well as in the manual page for > mount_msdos(8)). I should also have mentioned that I prefer not to mess with user mounting at all, but to use sudo to let a set of users execute the mount command. You can configure it to allow them to only use it for one specific command. And for floppies, I generally prefer mtools anyway, because a corrupt mounted filesystem (and floppies go bad annoyingly often) is so hazardous to the system.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44isogt6m5.fsf>