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

[Xen-changelog] [xen-3.0.5-testing] xend: Settle on 0666 pre-umask permissions for xend-debug.log.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1177454440 -3600
# Node ID 3d613faed8c32fb807384cae1d08a27f51d5433f
# Parent  a91d7dec2858338fb923ff28c0aad115a65fe730
xend: Settle on 0666 pre-umask permissions for xend-debug.log.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/server/SrvDaemon.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r a91d7dec2858 -r 3d613faed8c3 tools/python/xen/xend/server/SrvDaemon.py
--- a/tools/python/xen/xend/server/SrvDaemon.py Tue Apr 24 23:12:10 2007 +0100
+++ b/tools/python/xen/xend/server/SrvDaemon.py Tue Apr 24 23:40:40 2007 +0100
@@ -119,7 +119,7 @@ class Daemon:
         try:
             parent = os.path.dirname(XEND_DEBUG_LOG)
             mkdir.parents(parent, stat.S_IRWXU)
-            fd = os.open(XEND_DEBUG_LOG, os.O_WRONLY|os.O_CREAT|os.O_APPEND, 
0600)
+            fd = os.open(XEND_DEBUG_LOG, os.O_WRONLY|os.O_CREAT|os.O_APPEND, 
0666)
         except Exception, exn:
             print >>sys.stderr, exn
             print >>sys.stderr, ("Xend failed to open %s.  Exiting!" %

_______________________________________________
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®.