Permalink
Browse files

Force bootlocal* files to be executables

If the files have the wrong permissions on the filesystem
they are useless on the live system.
  • Loading branch information...
mika committed Jan 30, 2014
1 parent c2110d3 commit 89a4adeb648eab14b1e320e6bc43f3ba8b405090
Showing with 3 additions and 3 deletions.
  1. +3 −3 etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
@@ -34,9 +34,9 @@ fcopy -v /etc/inittab
sed -i "s/\$USERNAME\$/${USERNAME}/" $target/etc/inittab
# provide Grml's bootlocal init scripts
-fcopy -v /etc/init.d/bootlocal.first
-fcopy -v /etc/init.d/bootlocal.middle
-fcopy -v /etc/init.d/bootlocal.last
+fcopy -v -mroot,root,0755 /etc/init.d/bootlocal.first
+fcopy -v -mroot,root,0755 /etc/init.d/bootlocal.middle
+fcopy -v -mroot,root,0755 /etc/init.d/bootlocal.last
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2

0 comments on commit 89a4ade

Please sign in to comment.