Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 10:56:10 -0500
From:      edwinculp <edwinculp@prodigy.net.mx>
To:        freebsd-questions@freebsd.org
Subject:   Re: cd and dvd burning program K3b and permissions for	non-root users.
Message-ID:  <15ff214809.1480915ff2@prodigy.net.mx>

next in thread | raw e-mail | index | archive | help
First I would like to thank=3A

Oliver Fuchs =3Coliverfuchs=40onlinehome=2Ede=3E
=22E=2E Eusey=22 =3Celcoocooi=40earthlink=2Enet=3E =

Oliver Fuchs =3Coliverfuchs=40onlinehome=2Ede=3E

For their excellent and similar suggestions for getting this to work and =
apologize for not answering quicker but I=27ve been trying and trying to =
find the right combination=2E  After applying and testing all individuall=
y=2C I still haven=27t been successful=2E =


The problem is that cd0 isn=27t recognized by k3b unless the user is root=
=2E  The only error I can find from k3b is=3A

k3b=3A (K3bDeviceManager) /dev/cd0 resolved to /dev/cd0
k3b=3A (K3bCdDevice) /dev/cd0=3A init()
k3b=3A (K3bCdDevice=3A=3AScsiCommand) open device  failed=2E
k3b=3A ERROR=3A (K3bCdDevice) Unable to do inquiry=2E

Perms are=3A

/dev =23 ls -l cd0 xpt0
crw-rw-rw-  1 root  operator    4=2C  22 Aug 16 10=3A46 cd0
crw-rw-rw-  1 root  operator  229=2C   0 Aug 16 10=3A46 xpt0

I created a mount point directory for the =22plaza=22 and added the entry=
 in fstab and they can mount /dev/cd0 on their mount point=2E

/dev/cd0 on /home/plaza/cdrom (cd9660=2C local=2C nodev=2C nosuid=2C
read-only=2C mounted by plaza)

I set up sudo for camcontrol which works perfectly

ALL             ALL =3D NOPASSWD=3A /sbin/camcontrol devlist

/home/plaza =23 camcontrol devlist
=3CSONY CD-RW  CRX230ED 4YS1=3E        at scbus0 target 1 lun 0
(cd0=2Cpass0)

I have set uid root on=3A

/usr/local/bin =23 ls -l cdrdao cdrecord
-rwsr-sr-x  1 root  wheel  510232 Aug 12 20=3A22 cdrdao
-rwsr-sr-x  1 root  wheel  254636 Aug 12 20=3A19 cdrecord

The =22plaza=22 user can play audio with xmms but still can=27t use k3b=2E=


If you have any ideas what I=B4m missing=2C they would be appreciated=2E

ed



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15ff214809.1480915ff2>