From 4d99f66342f2117e3030b9c3c393651cfeca5a82 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 5 Aug 2014 23:10:41 +0200 Subject: 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. --- 1 | 2 ++ 1 file changed, 2 insertions(+) (limited to '1') 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" -- cgit 1.4.1