mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
xend: Settle on 0666 pre-umask permissions for xend-debug.log.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
57803ee7ae
commit
74fd18ac58
1 file changed
+1
-1
@@ -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!" %
|
||||
|
||||