Adjust permissions of /var/run/qubes

This commit is contained in:
Marek Marczykowski-Górecki 2015-02-17 04:51:55 +01:00
parent 9bbfb4a567
commit e47197569a
2 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,8 @@ start()
INTERFACE=eth0 /usr/lib/qubes/setup-ip
mkdir -p /var/run/qubes
chgrp qubes /var/run/qubes
chmod 0775 /var/run/qubes
if [ -e /dev/xvdb ] ; then
resize2fs /dev/xvdb 2> /dev/null || echo "'resize2fs /dev/xvdb' failed"

View File

@ -26,6 +26,8 @@ while [ ! -e /proc/xen/xenbus ]; do
done
mkdir -p /var/run/qubes
chgrp qubes /var/run/qubes
chmod 0775 /var/run/qubes
mkdir -p /var/run/qubes-service
mkdir -p /var/run/xen-hotplug