[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH master f14-branch?] Fix permissions of wepkey file to 0600 (#636099)



---
 pyanaconda/network.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/network.py b/pyanaconda/network.py
index ae06f1e..61c00e2 100644
--- a/pyanaconda/network.py
+++ b/pyanaconda/network.py
@@ -278,7 +278,7 @@ class NetworkDevice(IfcfgFile):
         os.write(fd, "KEY1=%s\n" % self.wepkey)
         os.close(fd)
 
-        os.chmod(newifcfg, 0644)
+        os.chmod(newifcfg, 0600)
         try:
             os.remove(keyfile)
         except OSError as e:
-- 
1.7.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]