Date: Thu, 18 Apr 2013 00:32:09 -0700 (PDT) From: Beeblebrox <zaphod@berentweb.com> To: freebsd-questions@freebsd.org Subject: sata/ata device permission for user Message-ID: <1366270329916-5804740.post@n5.nabble.com> In-Reply-To: <516F9DD2.6030200@coosemans.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
>> The user also needs access to the corresponding pass device which is shown by "camcontrol devlist". He also needs access to /dev/xpt0 I think. <HL-DT-ST DVDRAM GSA-4165B DL05> at scbus6 target 0 lun 0 (cd0,pass3) crw------- 1 root operator 0x48 Apr 18 07:08 pass0 crw------- 1 root operator 0x49 Apr 18 07:08 pass1 crw------- 1 root operator 0x4a Apr 18 07:08 pass2 crw------- 1 root operator 0x4b Apr 18 07:08 pass3 crw------- 1 root operator 0x42 Apr 18 07:08 xpt0 User is member of operator group. However, I agree with your idea because just now I was working with cdrtools and got this error, but when I ran as root no error: % cdda2wav summary --device /dev/cd0 cdda2wav: Permission denied. Open of /dev/xpt0 failed. Cannot open or use SCSI driver. cdda2wav: For possible targets try 'cdda2wav -scanbus'. Make sure you are root. Probably you did not define your SCSI device. Set the CDDA_DEVICE environment variable or use the -D option. Regards. ----- 10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel -- View this message in context: http://freebsd.1045724.n5.nabble.com/sata-ata-device-permission-for-user-tp5803691p5804740.html Sent from the freebsd-questions mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1366270329916-5804740.post>