[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: Do not set execute permission on qemu-dm log file.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1269705630 0
# Node ID 0da5bad4dfcf7c2587e06b39d9228c32798195f9
# Parent  86fc876a1485d20992a237385c34dfe947234cb2
xend: Do not set execute permission on qemu-dm log file.

Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>
---
 tools/python/xen/xend/image.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 86fc876a1485 -r 0da5bad4dfcf tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Sat Mar 27 15:59:25 2010 +0000
+++ b/tools/python/xen/xend/image.py    Sat Mar 27 16:00:30 2010 +0000
@@ -435,7 +435,7 @@ class ImageHandler:
                 os.rename(self.logfile, self.logfile + ".1")
 
         null = os.open("/dev/null", os.O_RDONLY)
-        logfd = os.open(self.logfile, logfile_mode)
+        logfd = os.open(self.logfile, logfile_mode, 0666)
         
         sys.stderr.flush()
         contract = osdep.prefork("%s:%d" %

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.