LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Change permissions for devices? (https://www.linuxquestions.org/questions/linux-hardware-18/change-permissions-for-devices-69812/)

LizardMan 07-03-2003 09:49 AM

Change permissions for devices?
 
Ive been having trouble with burning CDs (you can read all about it in the Software forum :p) Anyway, I sumed it up to user permissions on SCSI devices. How can I check/change the permissions on my DVD-ROM and CDR-W drive (which are both using SCSI emulation, if that make a difference) so that non-root users can use them for burning.

Muddy 07-03-2003 11:22 AM

bro I have the same issue on my mandrake 9.1 sys, I (like a dummy) deleted my cdrom/dvd icon off my desktop and now I so I created another one. Now I have to open a console window and su to root mount the drive, then I can click the icon and use the cd, after I have to go back to the console window unmount before ejecting it.
It's so stupid that I can't just make another icon and use it as I did before my dumb butt deleted it.

btw.. love your sig bro.

LizardMan 07-03-2003 11:45 AM

Well, thats kinda the weird thing... I can mount both my CD drives and access files on them, I just cant burn CDs without being root.

LogicG8 07-03-2003 01:32 PM

You said you already had scsi emulation working
so as root:

#cdrecord -scanbus

That will tell you what device your burner is

#ls -l <device name>

It should output something like

crw------- 1, root cdrw .....can ignore rest....

or

crw-rw---- 1, root root

The second name is the group ownership of the
device. If it isn't root you should edit /etc/group
to add yourself. Otherwise if you are the only
user of the computer and you are feeling a bit lazy
you could just set the permissions to be world
writable.

#chmod 666 /dev/<device name>

Login again as your normal user and you should
be able to burn CDs.


All times are GMT -5. The time now is 09:14 PM.