From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robby Workman Date: Sat, 02 Sep 2006 16:02:39 +0000 Subject: Re: SOLVED: rule won't change group or permissions Message-Id: <44F9AB1F.5030000@rlworkman.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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&kid0709&bid&3057&dat1642 _______________________________________________ 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