diff --git a/misc/postinstall.sh b/misc/postinstall.sh index 87c7a1e5..d1781db0 100755 --- a/misc/postinstall.sh +++ b/misc/postinstall.sh @@ -173,6 +173,7 @@ case "$1" in su bluecherry -c "chmod -R 770 /var/lib/bluecherry" if [[ $IN_DEB ]] then + mkdir -p /var/run/bluecherry chown -R bluecherry:bluecherry /var/run/bluecherry su bluecherry -c "chmod -R 750 /var/run/bluecherry" fi