From owner-freebsd-questions Mon Aug 19 16:48:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89F3D37B400 for ; Mon, 19 Aug 2002 16:48:40 -0700 (PDT) Received: from smtp.netcabo.pt (smtp.netcabo.pt [212.113.174.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DA7843E6E for ; Mon, 19 Aug 2002 16:47:03 -0700 (PDT) (envelope-from andre.ramos@netcabo.pt) Received: from a213-22-223-87.netcabo.pt ([213.22.223.87]) by smtp.netcabo.pt with Microsoft SMTPSVC(5.0.2195.5329); Tue, 20 Aug 2002 00:45:07 +0100 Subject: Re: not able to mount devices as normal user? From: =?ISO-8859-1?Q?Andr=E9?= Ramos To: freebsd-questions@freebsd.org In-Reply-To: <3D5EFE0E.298AB5AC@buffalo.edu> References: <3D5EFE0E.298AB5AC@buffalo.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 19 Aug 2002 00:46:13 +0100 Message-Id: <1029714373.720.2.camel@messias.netcabo.pt> Mime-Version: 1.0 X-OriginalArrivalTime: 19 Aug 2002 23:45:07.0414 (UTC) FILETIME=[72CAEF60:01C247DA] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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