aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorPeter Barabas <peter.barabas@ericsson.com>2016-06-16 14:34:28 +0200
committerJonas Bjurel <jonas.bjurel@ericsson.com>2016-08-17 09:31:32 +0000
commitcd9e0219f33a9d35fd9826d47de62dc5a03021a5 (patch)
tree45d7332144d847f14aea87030a25106c89a2acd6 /deploy
parent69d872c86b966ce546b7093426bb7032e9a22ab1 (diff)
Change log file permissions
Don't make it executable; don't make it world-writable. Change-Id: I5d117b39e70fff2c1cb5e62d017efe0387b9b5f4 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
Diffstat (limited to 'deploy')
-rw-r--r--deploy/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/common.py b/deploy/common.py
index 9654b3771..353045867 100644
--- a/deploy/common.py
+++ b/deploy/common.py
@@ -37,7 +37,7 @@ if os.path.isfile(LOGFILE):
out_handler = logging.FileHandler(LOGFILE, mode='w')
out_handler.setFormatter(formatter)
LOG.addHandler(out_handler)
-os.chmod(LOGFILE, stat.S_IRWXU | stat.S_IRWXG | stat.S_IRWXO)
+os.chmod(LOGFILE, 0664)
def mask_arguments(cmd, mask_args, mask_str):