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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1269952754 -3600
# Node ID 1e746b96c73368fda829f498c873df6c1d8f65ec
# Parent  7cf2c9797330286206c3d37e8b8c1705978b269e
xend: Do not set execute permission on qemu-dm log file.

Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>
xen-unstable changeset:   21077:0da5bad4dfcf
xen-unstable date:        Sat Mar 27 16:00:30 2010 +0000
---
 tools/python/xen/xend/image.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 7cf2c9797330 -r 1e746b96c733 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Tue Mar 30 13:38:48 2010 +0100
+++ b/tools/python/xen/xend/image.py    Tue Mar 30 13:39:14 2010 +0100
@@ -411,7 +411,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®.