linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: SOLVED: rule won't change group or permissions
@ 2006-09-02 16:02 Robby Workman
  0 siblings, 0 replies; only message in thread
From: Robby Workman @ 2006-09-02 16:02 UTC (permalink / raw)
  To: linux-hotplug

Dexter Filmore wrote:
> 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.


Solved offlist on ##slackware@freenode.

The dvd.rules file entries above were properly setting ownership,
but the default udev.rules file (which is looked after dvd.rules)
was changing them to the system default gid of "cdrom."  Changing
the GROUP="whatever" to GROUP:="whatever" makes it permanent -
from udev(7):
:= Assign a value to a key finally; disallow any later changes,
which may be used to prevent changes by any later rules.

RW

-- 

http://rlworkman.net


-------------------------------------------------------------------------
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\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-02 16:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-02 16:02 SOLVED: rule won't change group or permissions Robby Workman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).