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:
parent
7d59a3f89e
commit
fb1b0d4f36
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue