about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-28 12:39:16 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-28 12:39:16 +0200
commit9ad55852748d7dd2f10fc14edeb18e23d0ddd277 (patch)
tree997b5aed6577bd32ca5ef910be92128a70a5a852
parent30de77763946d45d8d810e7e6d96ff031063826f (diff)
downloadrunit-void-9ad55852748d7dd2f10fc14edeb18e23d0ddd277.tar.gz
runit-void-9ad55852748d7dd2f10fc14edeb18e23d0ddd277.tar.xz
runit-void-9ad55852748d7dd2f10fc14edeb18e23d0ddd277.zip
core-services/99-cleanup.sh: fixed permissions for {b,u}tmp.
-rw-r--r--core-services/99-cleanup.sh4
1 files changed, 2 insertions, 2 deletions
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