summaryrefslogtreecommitdiffstats
path: root/mkarchroot.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-06-14 15:28:30 +0200
committerPierre Schmitz <pierre@archlinux.de>2012-06-15 09:27:27 +0200
commit3734c80bf74744f29543a8ffdfb00e350985e2d8 (patch)
tree9d60e838614a256f66386e5cdcfb536d15401804 /mkarchroot.in
parent7b696f6f8da47096edcd4bf339daab8ef3c90bc1 (diff)
downloaddevtools-3734c80bf74744f29543a8ffdfb00e350985e2d8.tar.gz
devtools-3734c80bf74744f29543a8ffdfb00e350985e2d8.tar.xz
Fix /run permissions in chroot
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'mkarchroot.in')
-rw-r--r--mkarchroot.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index e199e9d..c826b0a 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -113,7 +113,7 @@ chroot_mount() {
mount -o bind /dev/pts "${working_dir}/dev/pts"
[[ -e "${working_dir}/run" ]] || mkdir "${working_dir}/run"
- mount -t tmpfs tmpfs "${working_dir}/run" -o nodev,nosuid,strictatime,size=64M
+ mount -t tmpfs tmpfs "${working_dir}/run" -o mode=0755,nodev,nosuid,strictatime,size=64M
if [[ -n $host_mirror_path ]]; then
[[ -e "${working_dir}/${host_mirror_path}" ]] || mkdir -p "${working_dir}/${host_mirror_path}"