summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-16 11:31:16 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-16 11:31:16 +0800
commitb31a2d1d338fbdf42a68bdfa1c2a6e95f2b415bf (patch)
treeb148f8cf7cf3959d6bb05e68fd8c722fe69979bb /sysutils
parentb4e693806199ef57af55074657268a48930cf3ae (diff)
downloadmarcuscom-ports-b31a2d1d338fbdf42a68bdfa1c2a6e95f2b415bf.tar
marcuscom-ports-b31a2d1d338fbdf42a68bdfa1c2a6e95f2b415bf.tar.gz
marcuscom-ports-b31a2d1d338fbdf42a68bdfa1c2a6e95f2b415bf.tar.bz2
marcuscom-ports-b31a2d1d338fbdf42a68bdfa1c2a6e95f2b415bf.tar.lz
marcuscom-ports-b31a2d1d338fbdf42a68bdfa1c2a6e95f2b415bf.tar.xz
marcuscom-ports-b31a2d1d338fbdf42a68bdfa1c2a6e95f2b415bf.tar.zst
marcuscom-ports-b31a2d1d338fbdf42a68bdfa1c2a6e95f2b415bf.zip
Make sure /var/cache has 0755 perms. We've seen two cases where they were
0000, so this should fix future problems. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10757 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/hal/files/hald.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/hal/files/hald.in b/sysutils/hal/files/hald.in
index 68cfee4fa..7f8f2c659 100644
--- a/sysutils/hal/files/hald.in
+++ b/sysutils/hal/files/hald.in
@@ -47,6 +47,8 @@ hald_precmd()
local_force_depend dbus || return 1
fi
+ chmod 0755 /var/cache
+
mkdir -p $(dirname $pidfile)
}