ia64/xen-unstable

changeset 14923:3d613faed8c3

xend: Settle on 0666 pre-umask permissions for xend-debug.log.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Apr 24 23:40:40 2007 +0100 (2007-04-24)
parents a91d7dec2858
children d5d6d2a8d10c
files tools/python/xen/xend/server/SrvDaemon.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDaemon.py	Tue Apr 24 23:12:10 2007 +0100
     1.2 +++ b/tools/python/xen/xend/server/SrvDaemon.py	Tue Apr 24 23:40:40 2007 +0100
     1.3 @@ -119,7 +119,7 @@ class Daemon:
     1.4          try:
     1.5              parent = os.path.dirname(XEND_DEBUG_LOG)
     1.6              mkdir.parents(parent, stat.S_IRWXU)
     1.7 -            fd = os.open(XEND_DEBUG_LOG, os.O_WRONLY|os.O_CREAT|os.O_APPEND, 0600)
     1.8 +            fd = os.open(XEND_DEBUG_LOG, os.O_WRONLY|os.O_CREAT|os.O_APPEND, 0666)
     1.9          except Exception, exn:
    1.10              print >>sys.stderr, exn
    1.11              print >>sys.stderr, ("Xend failed to open %s.  Exiting!" %