Date: Fri, 29 Aug 2003 00:24:09 -0700 From: Desmond Lee <desmond.lee@shaw.ca> To: 'Lowell Gilbert' <freebsd-questions-local@be-well.no-ip.com>, freebsd-questions@freebsd.org Subject: RE: allowing non root users to mount Message-ID: <000201c36dfe$8a163da0$6501a8c0@croydon> In-Reply-To: <44bru93yey.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for your help Lowell and others who replied :) I apologize for asking a question that was already posted on the FAQ FreeBSD site. I should have looked at the obvious resource for that. 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. 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. Thanks for the help Desmond -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Lowell Gilbert Sent: Thursday, August 28, 2003 9:01 PM To: freebsd-questions@freebsd.org Subject: Re: allowing non root users to mount Desmond Lee <desmond.lee@shaw.ca> writes: > However, can you do this on freeBSD? I mean, with RedHat it does it for > you so that you have a floppy and cdrom icon on your desktop. But can > you do that w/ freeBSD? I don't think so cause if there is no floppy/zip > disk/ or cdRom in the drive when you mount, it will return you an error. > So trying to mount these on boot is not right... is this correct? The usual approach for this is an automounter: see amd(8). > Is there any way that I can get no root users to mount files systems > like cdrom, zip and floppy? Yes. See the FreeBSD FAQ: "How do I let ordinary users mount floppies, CDROMs and other removable media?" > I tried to look this up and some people said to use the "user" option in > the /etc/fstab file, but this didn't work. That advice is for Linux. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201c36dfe$8a163da0$6501a8c0>