diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2011-07-23 11:42:27 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2011-07-23 11:42:27 +0200 |
commit | 4c0b4b18f8ceb634097e159d212782569acd3260 (patch) | |
tree | cd0dfa72c202081f225f4ad807c0ac703ccd1f5b /netboot/linuxrc.x | |
parent | Extend ChangeLog (diff) | |
download | genkernel-4c0b4b18f8ceb634097e159d212782569acd3260.tar.gz genkernel-4c0b4b18f8ceb634097e159d212782569acd3260.tar.bz2 genkernel-4c0b4b18f8ceb634097e159d212782569acd3260.zip |
Fix permissions of /dev/pts (bug #375947)
Diffstat (limited to 'netboot/linuxrc.x')
-rw-r--r--[-rwxr-xr-x] | netboot/linuxrc.x | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netboot/linuxrc.x b/netboot/linuxrc.x index dc4a9bf..3e46859 100755..100644 --- a/netboot/linuxrc.x +++ b/netboot/linuxrc.x @@ -1,6 +1,6 @@ #!/bin/ash -# Copyright 2001-2007 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later export PATH="/usr/sbin:/usr/bin:/sbin:/bin" @@ -37,7 +37,7 @@ StartUp() { /bin/busybox --install -s #// Create additional mount points - mkdir /dev/pts + mkdir -m 0755 /dev/pts mkdir /dev/shm mkdir -p /mnt/cdrom mkdir /mnt/floppy @@ -46,7 +46,7 @@ StartUp() { #// Mount remaining filesystems mount tmp /tmp -t tmpfs # /tmp - mount devpts /dev/pts -t devpts # /dev/pts + mount devpts /dev/pts -t devpts -o gid=5,mode=0620 # /dev/pts mount shm /dev/shm -t tmpfs -o size=512k # /dev/shm #// Create mtab |