Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 10:55:58 -0400
From:      Anish Mistry <mistry.7@osu.edu>
To:        Ron Weatherston <rdw@buffalo.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: not able to mount devices as normal user?
Message-ID:  <200208201055.58839.mistry.7@osu.edu>
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 Saturday 17 August 2002 09:53 pm, 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=
=2E
> 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 FreeBS=
D
> user I'd really appreciate it. Thanks in advance.
>=20
> rdw@buffalo.edu
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>=20
>=20
I add this line to my /etc/sysctl.conf:
vfs.usermount=3D1
That does the trick for me.  You can ofcourse set this manually without h=
aving=20
to reboot.
--=20
Anish Mistry


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?200208201055.58839.mistry.7>