Skip to contentSkip to conversation

rule won't change group or permissions

DISCUSSION Dexter Filmore 2 participants 2 messages Sep 2, 2006

lore
Share & tools
lore
#0 lore raw

Slackware 11.0rc3, kernel 2.6.17.9, udev 097

In ruled.d I added a file dvd.rules whcih contains:

BUS="ide", KERNEL="hdc", SYMLINK+="dvd", GROUP="xcdwrite", MODE="0666" BUS="ide", KERNEL="hdd", SYMLINK+="brenner", GROUP="xcdwrite", MODE="0666"

While the symlinks are set properly and hence the rule seems to be parsed and processed, the group and permissions settings do not take effect. I don't know what I'm doing wrong here.

Who can help?
CC me off list please, I'm not subscribed

Dex

Signature · 19 lines
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d--(+)@ s-:+ a- C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
------END GEEK CODE BLOCK------

http://www.stop1984.com
http://www.againsttcpa.com

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
#1 lore raw
Quoted 7 lines · Dexter Filmore

Slackware 11.0rc3, kernel 2.6.17.9, udev 097

In ruled.d I added a file dvd.rules whcih contains:

BUS=="ide", KERNEL=="hdc", SYMLINK+="dvd", GROUP="xcdwrite", MODE="0666" BUS=="ide", KERNEL=="hdd", SYMLINK+="brenner", GROUP="xcdwrite", MODE="0666"

Quoted 6 lines

While the symlinks are set properly and hence the rule seems to be parsed and processed, the group and permissions settings do not take effect. I don't know what I'm doing wrong here.

Who can help?
CC me off list please, I'm not subscribed

It's possible another rule is overriding it, in which case using := instead of = with GROUP and MODE might work.

What's the output of udevtest /block/hdc?

Alex :-)

Signature · 3 lines
Pippin
Computer Monkey to the Pelican
www.oxrev.org.uk, www.corpusjcr.org, www.rev.org.uk

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel