diff options
author | sschweizer@gmail.com <sschweizer@gmail.com> | 2004-12-02 22:23:21 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:43:36 -0700 |
commit | 8a0dc204e902a47a5b251c6d4a29eddb8f4a634a (patch) | |
tree | 4739ec025f514009fa3cac23c16f273e0958bc39 /namedev.c | |
parent | ad89f2be3b045f37b7e17de10f5ad46dbb09664f (diff) |
[PATCH] Allow GROUP to have modifiers in it
Diffstat (limited to 'namedev.c')
-rw-r--r-- | namedev.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -809,6 +809,11 @@ found: udev->partitions = dev->partitions; udev->ignore_remove = dev->ignore_remove; + if (dev->group[0] != '\0') { + strfieldcpy(udev->group, dev->group); + apply_format(udev, udev->group, sizeof(udev->group), class_dev, sysfs_device); + } + /* get permissions given in rule */ set_empty_perms(udev, dev->mode, dev->owner, |