This let me to check /dev/hd[cd] (CDROM and CDRW)'s permissions and they are: $> ls -l /dev/hd[cd] brw-rw---- 1 root disk 22, 0 2004-12-15 13:12 /dev/hdc brw-rw---- 1 root disk 22, 64 2004-12-15 13:12 /dev/hdd
I just rebooted the machine after changing the hd[cd]'s permissions to root:cdrom. After reboot, they were again root:disk. What is changing them?
I think I will start another thread for this particular issue.
This is how "udev" works, if you look to your root, you'll find /.dev and /dev, the first is the backup of the old /dev, that is now created at boot time by "udev" (or better from the CD scripts in /etc/udev)...
Andrea
Okay, here is what I get when I list the hd[cd] permissions and those of the device link created by pluggin of a USB stick based on my rule in udev:
~# ls -l /dev/hd[cd] /dev/*hs*
brw-rw---- 1 root disk 22, 0 Dec 15 14:13 /dev/hdc
brw-rw---- 1 root disk 22, 64 Dec 15 14:13 /dev/hdd
brw-rw---- 1 root root 8, 0 Dec 15 16:34 /dev/hs-jd-sda
lrwxrwxrwx 1 root root 9 Dec 15 16:34 /dev/hs-jd-usb -> hs-jd-sda
Regarding the cdrom drives (hd[cd]), I looked into /etc/udev/permissions.d/udev.permissions and noticed that I have these lines in this file:
cdemu/*:root:cdrom:0660
ide/*/cd:root:cdrom:0660
ide/*:root:disk:0660 <--- is this deciding the root:disk permissions?
hd[a-s]:root:disk:0660
hd[a-s][0-9]*:root:disk:0660
sd[a-z]:root:disk:0660
sd[a-z][0-9]*:root:disk:0660
sd[a-i][a-z]:root:disk:0660
sd[a-i][a-z][0-9]*:root:disk:0660
Am I supposed to tune this permissions file to make cdrom as root:cdrom? Also, based on these lines, should an /dev/sda device be made by /dev/hs-jd-sda and own by root:disk?
However, in /.dev, I have: > ll /.dev/hd[cd] brw-rw---- 1 root cdrom 22, 0 2004-03-23 16:48 /.dev/hdc brw-rw---- 1 root cdrom 22, 64 2004-03-23 16:48 /.dev/hdd
->HS
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

