mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
The file /var/log/xen/xend-debug.log is currently being created with executable permission bits set. This is because the os.open() method defaults to using a mode of 0777 if no third parameter is provided. The attached patch changes the mode to 0600 to ensure that the file permissions come out as -rw------- instead of -rwxr-xr-x Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
The file test.py here is from the Zope project, and is Copyright (c) 2001, 2002 Zope Corporation and Contributors. This file is released under the Zope Public License, version 2.0, a copy of which is in the file ZPL-2.0.