From owner-freebsd-questions@FreeBSD.ORG Sun May 25 14:25:49 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AD3C106566B for ; Sun, 25 May 2008 14:25:49 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.freebsd.org (Postfix) with ESMTP id C13758FC1D for ; Sun, 25 May 2008 14:25:48 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aquarius.dyndns.org (athedsl-285161.home.otenet.gr [85.73.161.135]) by rosebud.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id m4PEPkc3029775; Sun, 25 May 2008 17:25:47 +0300 Message-ID: <4839772C.3010307@otenet.gr> Date: Sun, 25 May 2008 17:26:52 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Desmond Chapman References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: mounting and using cd-rw media from a non root account X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2008 14:25:49 -0000 Desmond Chapman wrote: > I'm still stuck on the command line for this one. How do I give the user permissions and allow an application such as k3b to access the device? Any and all links to howtos or your own method is welcome. > Thank you in advance. > > > I have the following in my /etc/devfs.conf file: own cd0 root:operator perm cd0 0660 This makes the cd device owned by root / operator, and the permissions are set so that everyone in the operators group can read and write the device. If you change it to perm cd0 0666, everyone will be able to read and write (depending on your setup, this may have security implications). Do not forget to perform /etc/rc.d/devfs restart if you change the above file. You will need to load the atapicam module into the kernel if you wish to use utilities like cdrecord and k3b. This will make your atapi CD to be handled as a SCSI device. Use something like: kldload atapicam and add: atapicam_load="YES" in your /boot/loader.conf so that it also loads on your next boot. You can also build atapicam into your kernel if you don't want to use the module. The CD will then be handled using a cdX device, i.e. cd0, while the atapicd is usually acd0 Finally, for instructions on setting up k3b, go to /usr/ports/sysutils/k3b directory and type: make showinfo This will tell you most that you need to know on setting up k3b (including some of the info mentioned above).