diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-03-10 22:35:37 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:09 -0700 |
commit | e41016d3547ef704c0785ba197d36ef69de51260 (patch) | |
tree | 59dddd10a8d9bc90a84873e94d64650be7cf6577 /extras/scsi_id | |
parent | 3e16482d259c4a768b24a82bc0ed0e3a77954210 (diff) |
[PATCH] allow to specify node permissions in the rule
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.
Diffstat (limited to 'extras/scsi_id')
0 files changed, 0 insertions, 0 deletions