From bd56c4709fff4500c7f6ffed7e7dc7289457c0df 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 8fe0b2ea..239a6845 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