From owner-freebsd-questions@FreeBSD.ORG Thu Apr 18 19:21:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C47D064F for ; Thu, 18 Apr 2013 19:21:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8C6A616E2 for ; Thu, 18 Apr 2013 19:21:07 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id 86F1427604; Thu, 18 Apr 2013 21:21:04 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3IJLDh4001886; Thu, 18 Apr 2013 21:21:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 18 Apr 2013 21:21:13 +0200 From: Polytropon To: Beeblebrox Subject: Re: sata/ata device permission for user Message-Id: <20130418212113.cde61a68.freebsd@edvax.de> In-Reply-To: <1366281671523-5804757.post@n5.nabble.com> References: <1365927098231-5803691.post@n5.nabble.com> <20130414103154.3a49e6de.freebsd@edvax.de> <1365996890840-5803879.post@n5.nabble.com> <1366004997052-5803900.post@n5.nabble.com> <516F9DD2.6030200@coosemans.org> <1366270329916-5804740.post@n5.nabble.com> <20130418095129.7c6dc564.freebsd@edvax.de> <1366281671523-5804757.post@n5.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Apr 2013 19:21:07 -0000 On Thu, 18 Apr 2013 03:41:11 -0700 (PDT), Beeblebrox wrote: > >> But the group permissions are --- (none). > D'oh! > Well, that made a difference and I can query the cd0 device with cdda2wav as > my user now. > > I still can't mount a data CD however. You need write access to the cd, pass and xpt devices. You also need to _own_ the mount target directory. If you try something temporary within your home directory, it should always work: % cd % mkdir mnttest % mount -o ro -t cd9660 /dev/cd0 mnttest If you intend to mount below /media or into /cdrom or /dvd, you need to set the proper owner. If you are using X with the GiveConsole and TakeConsole script. Then you can do things like this: % mount /media/dvd given that all the over information is preprogrammed in /etc/fstab. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...