Re: help with udev rules needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



rray_1@xxxxxxxxxxx wrote:
> On Wed, 21 Jan 2009, Farkas Levente wrote:
> 
>> rray_1@xxxxxxxxxxx wrote:
>>> I am migrating from Fedora 8 to CentOS 5.2
>>> I have usb dvd
>>>
>>> On F8 I have /etc/udev/rules/00-my-custom.rules
>>> BUS=="scsi", SYSFS{vendor}=="TSSTcorp", SYSFS{model}=="CDDVDW SH-S203N
>>> ",SYMLINK="dvd",OWNER="rray"
>>> When I plug in dvd I get
>>> $ ll /dev/scd1
>>> lrwxrwxrwx 1 root root 3 Aug 25 08:17 /dev/scd1 -> sr1
>>>   ll /dev/sr1
>>> brw-r----- 1 rray disk 11, 1 2009-01-21 12:29 /dev/sr1
>>> Everything is ok
>>>
>>> On C5.2 I have /etc/udev/rules/00-my-custom.rules
>>> BUS=="scsi", SYSFS{vendor}=="TSSTcorp", SYSFS{model}=="CDDVDW SH-S203N
>>> ",SYMLINK="dvd",OWNER="rray"
>>> When I plug in dvd I get
>>> # ll /dev/scd0
>>> brw-rw---- 1 root disk 11, 0 Jan 21 12:30 /dev/scd0
>>> I have also tried MODE="0666" and it also has no affect
>>>
>>> I have checked "udevinfo -a -p $(udevinfo -q path -n /dev/scd0/1)" on both
>>> machines and they are the same
>> what's the problem?
>> the above rule has nothing to do with sdcX it's just create dvd symlink,
>> the device itself created by system udev rules.
>>
>>
> 
> On C5.2 the device has root:disk ownership and 660 perms
> The OWNER="rray" part of the udev rule appears to be ignored
> How can I change the owner to "rray" or perms to "0666"

_which_ device? scd1 or dvd!!!?
your rule is about dvd it has nothing to with scd1!

-- 
  Levente                               "Si vis pacem para bellum!"
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux