From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] allow to specify node permissions in the rule
Date: Wed, 10 Mar 2004 22:41:19 +0000 [thread overview]
Message-ID: <20040310224119.GD23987@kroah.com> (raw)
In-Reply-To: <20040307011223.GA22054@vrfy.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_id\x1470&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
next prev parent reply other threads:[~2004-03-10 22:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-07 1:12 [PATCH] allow to specify node permissions in the rule Kay Sievers
2004-03-10 22:41 ` Greg KH [this message]
2004-03-11 2:18 ` Kay Sievers
2004-03-12 1:07 ` Greg KH
2004-03-12 2:20 ` Kay Sievers
2004-03-12 10:43 ` Olaf Hering
2004-03-12 11:19 ` Kay Sievers
2004-03-12 11:30 ` Olaf Hering
2004-03-12 11:35 ` Kay Sievers
2004-03-12 16:43 ` Greg KH
2004-03-12 17:44 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040310224119.GD23987@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.