diff --git a/plugins/bootmisc.c b/plugins/bootmisc.c index 88364e00..0a519f4e 100644 --- a/plugins/bootmisc.c +++ b/plugins/bootmisc.c @@ -175,14 +175,14 @@ static void setup(void *arg) if (fisdir("/run")) { dbg("System with new /run tmpfs ..."); if (!fisdir("/run/lock")) - makedir("/run/lock", 1777); + makedir("/run/lock", 01777); ln("/run/lock", "/var/lock"); ln("/dev/shm", "/run/shm"); /* compat only, should really be set up by OS/dist */ ln("/run", "/var/run"); } else { - makedir("/var/lock", 1777); + makedir("/var/lock", 01777); makedir("/var/run", 0755); } makedir("/var/log", 0755);