From owner-freebsd-questions@FreeBSD.ORG Thu Aug 19 15:52:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C251A16A4CE for ; Thu, 19 Aug 2004 15:52:40 +0000 (GMT) Received: from smtp.prodigy.net.mx (nlpproxy04.prodigy.net.mx [148.235.52.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6384D43D45 for ; Thu, 19 Aug 2004 15:52:40 +0000 (GMT) (envelope-from edwinculp@prodigy.net.mx) Received: from prodigy.net.mx (du-148-235-52-34.prodigy.net.mx [148.235.52.34]) by smtp.prodigy.net.mx (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I2P00KJUAROQY@smtp.prodigy.net.mx>; Thu, 19 Aug 2004 10:52:36 -0500 (CDT) Received: from [148.235.52.103] (Forwarded-For: [200.95.35.64]) by nlpmail04.prodigy.net.mx (mshttpd); Thu, 19 Aug 2004 10:56:10 -0500 Date: Thu, 19 Aug 2004 10:56:10 -0500 From: edwinculp To: freebsd-questions@freebsd.org Message-id: <15ff214809.1480915ff2@prodigy.net.mx> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.21 (built Sep 8 2003) Content-type: text/plain; charset=iso-8859-1 Content-language: es Content-transfer-encoding: quoted-printable Content-disposition: inline X-Accept-Language: es Priority: non-urgent X-Priority: 5 (Lowest) Subject: Re: cd and dvd burning program K3b and permissions for non-root users. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 15:52:40 -0000 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