From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 10 Mar 2004 22:41:19 +0000 Subject: Re: [PATCH] allow to specify node permissions in the rule Message-Id: <20040310224119.GD23987@kroah.com> List-Id: References: <20040307011223.GA22054@vrfy.org> In-Reply-To: <20040307011223.GA22054@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Mar 07, 2004 at 02:12:23AM +0100, Kay Sievers wrote: > This allows to set the permissions along with the rule. > > This is not a general replacement for the permissions config, but it > may be easier sometimes for the user to specify the permissions along > with the rule, cause the permissions config file wants the final node > name to match, which seems sometimes a bit difficult to guess, if > format % chars are used in the NAME field. > > Any value not given in the rule is still be read from the permissions > file or set to the default. This one will also work: > > BUS="usb", KERNEL="video*", NAME="my-%k", OWNER="$local" > > A few words to man page are also added and add_perm_dev() is moved into > namedev_parse.c where it belongs to. Hm, as enough people have asked for something like this, I've applied it. Any chance on being able to add a test for this kind of stuff to the udev-test.pl script? thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ 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