From 273032bfae86685a6aeb97c6b4fc7489ba1d2dff Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 18 Jul 2012 22:22:52 +0200 Subject: [PATCH] dom0: add missing file --- dom0/aux-tools/fix_dir_perms.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 dom0/aux-tools/fix_dir_perms.sh diff --git a/dom0/aux-tools/fix_dir_perms.sh b/dom0/aux-tools/fix_dir_perms.sh new file mode 100755 index 00000000..82b3468f --- /dev/null +++ b/dom0/aux-tools/fix_dir_perms.sh @@ -0,0 +1,20 @@ +#!/bin/sh +chgrp qubes /etc/xen +chmod 710 /etc/xen +chgrp qubes /var/run/xenstored/* +chmod 660 /var/run/xenstored/* +chgrp qubes /var/lib/xen +chmod 770 /var/lib/xen +chgrp qubes /var/log/xen +chmod 770 /var/log/xen +chgrp qubes /proc/xen/privcmd +chmod 660 /proc/xen/privcmd +chgrp qubes /dev/xen/evtchn +chmod 660 /dev/xen/evtchn +touch /var/run/qubes/xl-lock +chgrp qubes /var/run/qubes/xl-lock +chmod 660 /var/run/qubes/xl-lock +chgrp -R qubes /var/log/xen +chmod -R g+rX /var/log/xen +chmod g+s /var/log/xen/console +mkdir -p /var/run/xen-hotplug