From 0c0083c4579a817273166d88ef5994304fad3810 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 7 Apr 2011 18:43:52 +0200 Subject: [PATCH] Allow normal user to read xenstore values This is needed by qubes-session --- common/qubes_core | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/qubes_core b/common/qubes_core index 8fe0b2e..239a684 100755 --- a/common/qubes_core +++ b/common/qubes_core @@ -15,6 +15,9 @@ start() exit 1 fi + # Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read + chmod 666 /proc/xen/xenbus + name=$(/usr/bin/xenstore-read name) if ! [ -f /etc/this_is_dvm ] ; then # we don't want to set hostname for DispVM