WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xend: Do not set execute permission on qe

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: Do not set execute permission on qemu-dm log file.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 27 Mar 2010 09:10:15 -0700
Delivery-date: Sat, 27 Mar 2010 09:10:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: Do not set execute permission on qemu-dm log file., Xen patchbot-unstable <=