From owner-freebsd-questions Fri Aug 11 10:14:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom1-042.telepath.com [216.14.1.42]) by hub.freebsd.org (Postfix) with SMTP id 26A2D37B8A1 for ; Fri, 11 Aug 2000 10:14:03 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 73527 invoked by uid 100); 11 Aug 2000 17:13:24 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14740.13363.962831.715467@guru.mired.org> Date: Fri, 11 Aug 2000 12:13:23 -0500 (CDT) To: Nimrod Mesika Cc: questions@freebsd.org Subject: Re: permissions problems In-Reply-To: <71453178@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nimrod Mesika writes: > On Fri, Aug 11, 2000 at 03:56:33PM +0400, Kostya & wrote: > > I created a new user, which belongs to group wheel, but when working as this > > user the system doesn't allow me to > > -mount cd-rom drive > 1. Make sure the device file has the proper permissions. For > example: chmod 777 /dev/acd0c (this will let everyone mount it) It's probably better to make them mode 550. You don't need execute permission in any case, and restricting it to group permission allows you to control who can - and can't - mount the devices. Also, you have to have own the directory you're going to mount it on, not just have write permission on that directory. > 2. Allow users to mount: sysctl -w vfs.usermount=1 > (you can put this into your /etc/rc.local). If you're running FreeBSD 4.0 or later, you can put this in sysctl.conf instead. See the sysctl.conf(5) for details.