summaryrefslogtreecommitdiff
path: root/namedev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-10-30 13:33:06 +0200
committerGreg KH <gregkh@suse.de>2005-04-26 22:08:27 -0700
commit091215a59744a2b2d809c5f200e3313266c0d7ce (patch)
treec1c0eda987e47c175c353d28dd4049732e025a92 /namedev.c
parent2b0f835ccc67ae3209bc89be22cedfc8341ab5e3 (diff)
[PATCH] Apply the default permissions even if we found a entry in
Diffstat (limited to 'namedev.c')
-rw-r--r--namedev.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/namedev.c b/namedev.c
index 80d5f1a499..b142dda4fe 100644
--- a/namedev.c
+++ b/namedev.c
@@ -798,11 +798,10 @@ perms:
set_empty_perms(udev, perm->mode,
perm->owner,
perm->group);
- } else {
- set_empty_perms(udev, get_default_mode(),
- get_default_owner(),
- get_default_group());
}
+ set_empty_perms(udev, get_default_mode(),
+ get_default_owner(),
+ get_default_group());
dbg("name, '%s' is going to have owner='%s', group='%s', mode = %#o",
udev->name, udev->owner, udev->group, udev->mode);