Code Review
/
fuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
69d872c
)
Change log file permissions
45/15745/2
author
Peter Barabas
<peter.barabas@ericsson.com>
Thu, 16 Jun 2016 12:34:28 +0000
(14:34 +0200)
committer
Jonas Bjurel
<jonas.bjurel@ericsson.com>
Wed, 17 Aug 2016 09:31:32 +0000
(09:31 +0000)
Don't make it executable; don't make it world-writable.
Change-Id: I5d117b39e70fff2c1cb5e62d017efe0387b9b5f4
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
deploy/common.py
patch
|
blob
|
history
diff --git
a/deploy/common.py
b/deploy/common.py
index
9654b37
..
3530458
100644
(file)
--- 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):