From owner-freebsd-questions@FreeBSD.ORG Sat Nov 20 15:08:48 2004 Return-Path: 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 D0FFE16A4CE for ; Sat, 20 Nov 2004 15:08:48 +0000 (GMT) Received: from 9.hellooperator.net (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CC7343D66 for ; Sat, 20 Nov 2004 15:08:48 +0000 (GMT) (envelope-from rasputin@hellooperator.net) Received: from rasputin by 9.hellooperator.net with local (Exim 4.43) id 1CVWr0-0004OK-LE; Sat, 20 Nov 2004 15:08:46 +0000 Date: Sat, 20 Nov 2004 15:08:46 +0000 From: Dick Davies To: Graham Bentley Message-ID: <20041120150846.GB26308@lb.tenfour> References: <20041120110353.06e8ee1d.gbentley@uk2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041120110353.06e8ee1d.gbentley@uk2.net> User-Agent: Mutt/1.4.2.1i Sender: Rasputin cc: FreeBSD Questions Subject: Re: User CD Mount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dick Davies List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2004 15:08:48 -0000 * Graham Bentley [1103 15:03]: > > Hi All, > > I am trying to get permission to mount CD's when logged in non root > Following the handbook advice I have :- > > As root set the sysctl variable vfs.usermount to 1. > # sysctl -w vfs.usermount=1 > Added the line vfs.usermount=1 to the file /etc/sysctl.conf > > Changed group perms on devs > # chgrp operator /dev/acd0 > # chgrp operator /dev/acd1 > > Changed access perms > # chmod 640 /dev/acd0 > # chmod 640 /dev/acd1 > > Changed group perms on the mount points > # chgrp operator /cdrom > # chgrp operator /cdrom1 > > Added myself to the operator group in /etc/group > operator:*:5:root,graham > > However non of this worked - I could still not mount as non root > even though I was in the operator group. You need to own the mount point, I think - group writablity is'nt enough. -- common sense is what tells you that the world is flat. - Principia Discordia Rasputin :: Jack of All Trades - Master of Nuns