From owner-freebsd-fs@FreeBSD.ORG Wed Feb 2 23:02:08 2005 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6ACC16A4CE for ; Wed, 2 Feb 2005 23:02:08 +0000 (GMT) Received: from relay.kiev.sovam.com (relay.kiev.sovam.com [212.109.32.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E9A843D45 for ; Wed, 2 Feb 2005 23:02:08 +0000 (GMT) (envelope-from stan.de@gmx.net) Received: from [62.64.112.35] (helo=as3-L35.kiev.sovam.net.ua) by relay.kiev.sovam.com with esmtp (Exim 4.41) id 1CwTVb-0002l0-S0 for freebsd-fs@freebsd.org; Thu, 03 Feb 2005 01:02:04 +0200 From: Stan Sorochan Organization: www.unixoid.cjb.net To: freebsd-fs@freebsd.org Date: Thu, 3 Feb 2005 01:10:35 +0200 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Message-Id: <200502030110.35144.stan.de@gmx.net> X-Scanner-Signature: f216f799903dddc2f9accd11d8a1fded X-DrWeb-checked: yes Subject: Re: FreeBSD 5.2 How do I let ordinary users mount floppies, CDROMs and other removablemedia?I' X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2005 23:02:08 -0000 Thanks to those who've responded! So I'm combining two of the emails that I've acted upon: =46irst:=20 >/dev/xpt0? >--=20 >Maxim Konovalov Second: > If you su to root, mount it, then unmount it, and then try to mount it as > the regular user, does that work? > > Robert N M Watson OK, I've added the follwing lines to my devfs.conf: own xpt0 root:usb #gid of those who need to mount a usb device perm xpt0 0660 so now I get this: # ll /dev/ | grep xpt0 crw-rw---- 1 root usb 104, 0 1 =EB=FE=F2 23:46 xpt0 this looks good, but I still can't mount the /dev/da0s1 without su rights. Then I do a su, mount the device, unmount it - and now I can mount the devi= ce=20 without su rights.... OK, that sort of works, but the su part really has to go.... How can I fix= =20 that? =2D-=20 Best regards, Stan Sorochan