Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 21:21:13 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-questions@freebsd.org
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130418212113.cde61a68.freebsd>