From 9ad55852748d7dd2f10fc14edeb18e23d0ddd277 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 28 Aug 2014 12:39:16 +0200 Subject: core-services/99-cleanup.sh: fixed permissions for {b,u}tmp. --- core-services/99-cleanup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core-services/99-cleanup.sh') diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh index 4ede9c1..63a973c 100644 --- a/core-services/99-cleanup.sh +++ b/core-services/99-cleanup.sh @@ -1,11 +1,11 @@ #!/bin/sh -install -m0644 -o root -g utmp /dev/null /run/utmp +install -m0664 -o root -g utmp /dev/null /run/utmp if [ ! -e /var/log/wtmp ]; then install -m0664 -o root -g utmp /dev/null /var/log/wtmp fi if [ ! -e /var/log/btmp ]; then - install -m0664 -o root -g utmp /dev/null /var/log/btmp + install -m0600 -o root -g utmp /dev/null /var/log/btmp fi install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot -- cgit 1.4.1