Date: Sun, 25 May 2008 17:26:52 +0300 From: Manolis Kiagias <sonicy@otenet.gr> To: Desmond Chapman <que_deseja@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: mounting and using cd-rw media from a non root account Message-ID: <4839772C.3010307@otenet.gr> In-Reply-To: <BLU126-W45F900C976607294315320EDC30@phx.gbl> References: <BLU126-W45F900C976607294315320EDC30@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4839772C.3010307>
