Mitko Moshev wrote:
Makurin Roman wrote:


Hi All!
I`ve got a problem with udev and my cdrecorder permisions.

Cdrecorder is /dev/hdd, in /etc/udev/permissions.d/50-udev.permissions
I found these lines:
sr*:root:cdrom:660
scd*:root:cdrom:660
pcd*:root:cdrom:0660
cdrom*:root:cdrom:0660
dvd:root:cdrom:0660
rdvd:root:cdrom:0660
cdroms/*:root:cdrom:0660

ls -l /dev/hdd:
brw-rw----  1 root root 22, 64 Jan  8 18:26 /dev/hdd
ls -l /dev/cdroms/*
lrwxrwxrwx  1 root root 6 ÐÐÐ  8 18:26 /dev/cdroms/cdrom0 -> ../hdd

Since /dev/hdd is not accessible for cdrom group ordinary users can`t write to it.

How can I fix this problem ?




Umm.... Looking at that output, I'd say it's plent accessible.
the owner (root) and the group (cdrom) both have read and write permissions, so I don't see any problem. If you want to access the cdrom just add yourself to the cdrom group.
it says "root root"...

look at the udev rules for hdb (hd* ?), becase those rules you listed tell only about /dev/cdroms/cdrom0, which is a symlink and perms on it therefore don't have any effect

you can chceck also /etc/security/console.perms, pam changes the perms after someone logs into a console (X) and after he logs out..

--
      _
      |
YoYo () Siska
===================
http://www.ksp.sk/


-- [email protected] mailing list



Reply via email to