Dracut now makes the initrd with 600 permissions for security reasons. These reasons do not apply to install images, and we want the other tools that use lorax to be able to read the initrd file. --- src/pylorax/ltmpl.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/pylorax/ltmpl.py b/src/pylorax/ltmpl.py index a391a90..3dda557 100644 --- a/src/pylorax/ltmpl.py +++ b/src/pylorax/ltmpl.py @@ -302,6 +302,7 @@ class LoraxTemplateRunner(object): Same as installkernel, but for "initrd". ''' self.install(src, dest) + self.chmod(dest, '644') self.treeinfo(section, "initrd", dest)
def hardlink(self, src, dest):
Looks good to me.
On Mon, 2012-10-08 at 12:37 +0200, Martin Gracik wrote:
Dracut now makes the initrd with 600 permissions for security reasons. These reasons do not apply to install images, and we want the other tools that use lorax to be able to read the initrd file.
src/pylorax/ltmpl.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/pylorax/ltmpl.py b/src/pylorax/ltmpl.py index a391a90..3dda557 100644 --- a/src/pylorax/ltmpl.py +++ b/src/pylorax/ltmpl.py @@ -302,6 +302,7 @@ class LoraxTemplateRunner(object): Same as installkernel, but for "initrd". ''' self.install(src, dest)
self.chmod(dest, '644') self.treeinfo(section, "initrd", dest)
def hardlink(self, src, dest):
anaconda-patches@lists.fedorahosted.org