[Libvirt-cim] [PATCH] Relax permissions on schema install temporary directory

Dan Smith danms at us.ibm.com
Mon Mar 24 18:33:38 UTC 2008


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1206375916 25200
# Node ID 6cc2fd98582341e8a5068efaa19fb6dc2f61c140
# Parent  ff7434bc724db507c23a8c4f9628d82dcae44ec7
Relax permissions on schema install temporary directory

This eliminates a failure if the pegasus utilities are setuid to the
Pegasus user

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r ff7434bc724d -r 6cc2fd985823 base_schema/install_base_schema.sh.in
--- a/base_schema/install_base_schema.sh.in	Fri Mar 21 09:40:51 2008 -0700
+++ b/base_schema/install_base_schema.sh.in	Mon Mar 24 09:25:16 2008 -0700
@@ -6,6 +6,7 @@ SCHEMA_VERSION="2.16"
 SCHEMA_VERSION="2.16"
 
 TMPDIR=$(mktemp -d /tmp/cim_schema.XXXXX)
+chmod a+x $TMPDIR
 
 if [ ! -z "$CIM_DEBUG" ]; then
     set -x




More information about the Libvirt-cim mailing list