diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | kickstart.py | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -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) |