From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 08 Aug 2005 14:15:41 +0000 Subject: Re: /etc/udev/permissions.d handling for udev Message-Id: <20050808141541.GA935@vrfy.org> List-Id: References: <20050808154153.5e9bfb5d.T.Lukaszewski@elka.pw.edu.pl> In-Reply-To: <20050808154153.5e9bfb5d.T.Lukaszewski@elka.pw.edu.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-hotplug@vger.kernel.org On Mon, Aug 08, 2005 at 03:41:53PM +0200, Tomasz Michał Łukaszewski wrote: > > Hello, > > I've installed udev and noted that it isn't able to manage access rights > for device nodes. I need this functionality, so I've written some code > (called from udev_rules_get_name()) that reads contents of > /etc/udev/permissions.d and sets owner, group and access rights accordingly. > A patch for udev-065 is available at > > http://home.elka.pw.edu.pl/~tlukasze/udev/udev-065-permissions.patch.gz > > The syntax of permissions file is based on etc/udev/udev.permissions > or etc/udev/slackware/udev.permissions, distributed with the sources. /etc/udev/permissions.d/ was removed long ago for good reason. Use OWNER=, GROUP=, MODE= in a /etc/udev/rules.d/ file. You can even match against a whole subsystem with that model: SUBSYSTEM="block", GROUP="disk" This patch or anything similar that reads a different source of permissions does not make sense in the current udev. Better convince your distro to switch to the unified format. Thanks, Kay ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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