From cf8fb74155fcd61a9ca3e7fde9bf083aba548f3a Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Tue, 16 Nov 2010 09:36:46 +0100 Subject: [PATCH] Change permissions on shadow file --- src/pylorax/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 2ecb057d..6c807350 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -1151,6 +1151,9 @@ class LoraxInstallTree(BaseLoraxClass): fobj.write("root::14438:0:99999:7:::\n") fobj.write("install::14438:0:99999:7:::\n") + # change permissions + chmod_(shadow, 400) + def get_anaconda_portions(self): src = joinpaths(self.root, "usr", self.libdir, "anaconda", "loader") dst = joinpaths(self.root, "sbin")