summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--kickstart.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bd2c50b83..f87008f8d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
* instdata.py (InstallData.write): Don't traceback on printing out an
authconfig-related error message (#178041).
+ * kickstart.py (AnacondaKSScript.run): Set permissions on log files
+ to 0600 (#177519).
+
* loader2/urlinstall.c (loadSingleUrlImage): Not every caller wants
to put the product on the front of the URL (#178001).
diff --git a/kickstart.py b/kickstart.py
index 6bb45c3ec..23615b6a4 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -79,6 +79,9 @@ class AnacondaKSScript(Script):
os.unlink(path)
+ if serial or self.logfile is not None:
+ os.chmod("%s/%s" % (scriptRoot, messages), 0600)
+
class AnacondaKSHandlers(KickstartHandlers):
def __init__ (self, ksdata):
KickstartHandlers.__init__(self, ksdata)