Change bootstrap file permissions

'linux' image is being copied with default perms which are 600
 It prohibits reading this file from other users  than root.
 By changing perms to 644 will allow to read-only access to 
 generated files for other users

Partially Implements: blueprint fuel-integrate-ironic
Change-Id: Ied6ef66645362030c2290862d8a3b2f02c40fc4f
This commit is contained in:
vsaienko 2015-10-09 15:39:16 +03:00 committed by Vasyl Saienko
parent 7d59a3f89e
commit fb1b0d4f36
1 changed files with 2 additions and 0 deletions

View File

@ -347,6 +347,8 @@ mk_squashfs_image ()
mv $DESTDIR/linux.${tmp} $DESTDIR/linux
mv $DESTDIR/root.squashfs.${tmp} $DESTDIR/root.squashfs
chmod 644 $DESTDIR/initramfs.img $DESTDIR/linux $DESTDIR/root.squashfs
umount "$root/mnt/dst"
umount "$root/mnt/src"
umount "$root/mnt"