diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-24 23:40:40 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-24 23:40:40 +0100 |
commit | 74fd18ac582e414dfe2baa88551965f72df8b7cd (patch) | |
tree | 8f816144647537de57aba9fd19a5bce6fcf8bc3d | |
parent | 57803ee7aef4754bed45ecca4428acfbb7f54bcc (diff) | |
download | xen-74fd18ac582e414dfe2baa88551965f72df8b7cd.tar.gz xen-74fd18ac582e414dfe2baa88551965f72df8b7cd.tar.bz2 xen-74fd18ac582e414dfe2baa88551965f72df8b7cd.zip |
xend: Settle on 0666 pre-umask permissions for xend-debug.log.
Signed-off-by: Keir Fraser <keir@xensource.com>
-rw-r--r-- | tools/python/xen/xend/server/SrvDaemon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/server/SrvDaemon.py b/tools/python/xen/xend/server/SrvDaemon.py index e67c56a9d9..a265aef906 100644 --- a/tools/python/xen/xend/server/SrvDaemon.py +++ b/tools/python/xen/xend/server/SrvDaemon.py @@ -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!" % |