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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert
Sent: Thursday, August 28, 2003 9:01 PM
To: [EMAIL PROTECTED]
Subject: Re: allowing non root users to mount

Desmond Lee <[EMAIL PROTECTED]> 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.  
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to