diff --git a/src/core/namespace.c b/src/core/namespace.c index e20c500793..19678e6d57 100644 --- a/src/core/namespace.c +++ b/src/core/namespace.c @@ -587,7 +587,7 @@ static int mount_private_dev(MountEntry *m) { } devshm = strjoina(temporary_mount, "/dev/shm"); - (void) mkdir(devshm, 01777); + (void) mkdir(devshm, 0755); r = mount("/dev/shm", devshm, NULL, MS_BIND, NULL); if (r < 0) { r = -errno;