diff options
author | Juan RP <xtraeme@gmail.com> | 2014-08-05 23:10:41 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-08-05 23:10:41 +0200 |
commit | 4d99f66342f2117e3030b9c3c393651cfeca5a82 (patch) | |
tree | 579be0f7f07ad5adcc12eb98701cd21cd2c662b7 /1 | |
parent | 378f5ff48f484592607a68908354559949385647 (diff) | |
download | runit-void-4d99f66342f2117e3030b9c3c393651cfeca5a82.tar.gz runit-void-4d99f66342f2117e3030b9c3c393651cfeca5a82.tar.xz runit-void-4d99f66342f2117e3030b9c3c393651cfeca5a82.zip |
1: create /tmp/.{ICE,X11}-unix dirs with proper perms.
/tmp is tmpfs by default for a while, so make those dirs to avoid users making them with wrong permissions.
Diffstat (limited to '1')
-rwxr-xr-x | 1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/1 b/1 index aa9bcdd..62844dd 100755 --- a/1 +++ b/1 @@ -159,6 +159,8 @@ cp /var/lib/random-seed /dev/urandom >/dev/null 2>&1 || true ( umask 077; dd if=/dev/urandom of=/var/lib/random-seed count=1 bs=512 >/dev/null 2>&1 ) install -m0664 -o root -g utmp /dev/null /run/utmp +install -d -m1777 /tmp/.X11-unix /tmp/.ICE-unix + rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot msg "Loading kernel modules...\n" |