Mount tmpfs filesystems with mode=0755
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
47dd70f3b5
commit
1d9d75beb4
1 changed files with 2 additions and 2 deletions
|
@ -76,12 +76,12 @@ archiso_mount_handler() {
|
|||
newroot="${1}"
|
||||
|
||||
msg -n ":: Mounting tmpfs, size=${tmpfs_size}..."
|
||||
mount -t tmpfs -o "size=${tmpfs_size}" tmpfs /tmpfs
|
||||
mount -t tmpfs -o "size=${tmpfs_size}",mode=0755 tmpfs /tmpfs
|
||||
msg "done."
|
||||
|
||||
if [ "${copytoram}" = "y" ]; then
|
||||
msg -n ":: Mounting tmpfs (for squashfs), size=${tmpfs_sqfs_size}..."
|
||||
mount -t tmpfs -o "size=${tmpfs_sqfs_size}" tmpfs /tmpfs.sqfs
|
||||
mount -t tmpfs -o "size=${tmpfs_sqfs_size}",mode=0755 tmpfs /tmpfs.sqfs
|
||||
msg "done."
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue