chiark / gitweb /
[PATCH] use numeric owner/group as default values to avoid parsing userdb
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Sat, 5 Mar 2005 21:41:00 +0000 (22:41 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:48:48 +0000 (23:48 -0700)
udev_utils.c

index 60f5ad8..145f02b 100644 (file)
@@ -84,8 +84,8 @@ int udev_init_device(struct udevice *udev, const char* devpath, const char *subs
        }
 
        udev->mode = 0660;
-       strcpy(udev->owner, "root");
-       strcpy(udev->group, "root");
+       strcpy(udev->owner, "0");
+       strcpy(udev->group, "0");
 
        return 0;
 }