summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-07-05 19:36:11 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-07-05 19:36:11 -0300
commit1d9d75beb48cc8b6acf53a33094f931c0cae8b67 (patch)
tree5fd29c8a2f51009eb5d598b5bfabc5ff1037c2ed /archiso
parent47dd70f3b5fd43731652aa1591101a07ae1e733a (diff)
downloadarchiso32-1d9d75beb48cc8b6acf53a33094f931c0cae8b67.tar.xz
Mount tmpfs filesystems with mode=0755
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso')
-rw-r--r--archiso/hooks/archiso4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiso/hooks/archiso b/archiso/hooks/archiso
index d979ef4..ae98231 100644
--- a/archiso/hooks/archiso
+++ b/archiso/hooks/archiso
@@ -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