mirror of
https://github.com/troglobit/finit.git
synced 2026-10-27 12:20:54 +00:00
bootmisc: Follow-up to f4662d8
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
1e8a45cbe2
commit
d2053bd07d
1 file changed
+2
-1
+2
-1
@@ -171,7 +171,8 @@ static void setup(void *arg)
|
|||||||
gid = getgroup("uuid");
|
gid = getgroup("uuid");
|
||||||
if (gid < 0)
|
if (gid < 0)
|
||||||
gid = 0;
|
gid = 0;
|
||||||
makedir("/var/run/uuid", uid, gid);
|
makedir("/var/run/uuid", 0755);
|
||||||
|
chown("/var/run/uuid", uid, gid);
|
||||||
}
|
}
|
||||||
|
|
||||||
umask(022);
|
umask(022);
|
||||||
|
|||||||
Reference in new issue
Block a user