diff options
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r-- | perl-install/install/install2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 4112b0932..4b5a93610 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -296,8 +296,8 @@ sub start_udev() { $ENV{UDEVRULESD} = "/run/udev/rules.d"; # Start up udev and trigger cold plugs - mkdir("/dev/$_", 0755) foreach qw(pts shm); run_program::run("mount", "-t", "devtmpfs", "-o", "mode=0755,nosuid", "devtmpfs", "/dev"); + mkdir("/dev/$_", 0755) foreach qw(pts shm); run_program::run("mount", "-t", "devpts", "-o", "gid=5,mode=620,noexec,nosuid", "devpts", "/dev/pts"); run_program::run("mount", "-t", "tmpfs", "-o", "mode=1777,nosuid,nodev", "tmpfs", "/dev/shm"); |