diff options
author | Chris Lumens <clumens@redhat.com> | 2006-01-17 18:19:16 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-01-17 18:19:16 +0000 |
commit | d968572a843bf44e3b7a049ce6febb189984b5ef (patch) | |
tree | b49984e92c04eae225ec30f6d1d4d4a93c196e5b | |
parent | 1b08c711e7eaaecb3afc22f0a02a859d6fc1b51d (diff) | |
download | anaconda-d968572a843bf44e3b7a049ce6febb189984b5ef.tar.gz anaconda-d968572a843bf44e3b7a049ce6febb189984b5ef.tar.xz anaconda-d968572a843bf44e3b7a049ce6febb189984b5ef.zip |
Set permissions on log files to 0600 (#177519).
-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) |