Skip site navigation (1)Skip section navigation (2)
Date:      19 Aug 2002 00:46:13 +0100
From:      =?ISO-8859-1?Q?Andr=E9?= Ramos <andre.ramos@netcabo.pt>
To:        freebsd-questions@freebsd.org
Subject:   Re: not able to mount devices as normal user?
Message-ID:  <1029714373.720.2.camel@messias.netcabo.pt>
In-Reply-To: <3D5EFE0E.298AB5AC@buffalo.edu>
References:  <3D5EFE0E.298AB5AC@buffalo.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2002-08-18 at 02:53, Ron Weatherston wrote:
> I'm not able to mount devices (such as a CD-ROM drive) as a normal user
> despite the fact that I own the mount point that I'm trying to mount to.
> Ther error message I get is:  mount_cd9660: /dev/acd0c: Operation not
> permitted. What gives? Also, is there a mount option that will allow
> users to mount devices on the same mount point. Here's what I mean: If
> I have /cdrom as a mont point defined in fstab for my cd drive how can
> I allow all users (not just root) use this mount point. I'm not worried
> about security too much as I'm the only one who uses my machine and
> I don't have an always-on internet connection. I know in Linux you can
> specify the "user" mount option but looking through the man pages for
> both fstab and mount I could not find anything like this. If someone
> could shed a little light on this for a relatively inexperienced FreeBSD
> user I'd really appreciate it. Thanks in advance.
> 
> rdw@buffalo.edu
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


Add the line
%users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
to the /usr/local/etc/sudoers file.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1029714373.720.2.camel>