From cd9e0219f33a9d35fd9826d47de62dc5a03021a5 Mon Sep 17 00:00:00 2001 From: Peter Barabas Date: Thu, 16 Jun 2016 14:34:28 +0200 Subject: Change log file permissions Don't make it executable; don't make it world-writable. Change-Id: I5d117b39e70fff2c1cb5e62d017efe0387b9b5f4 Signed-off-by: Peter Barabas --- deploy/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deploy') 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): -- cgit 1.2.3-korg