From 3734c80bf74744f29543a8ffdfb00e350985e2d8 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Thu, 14 Jun 2012 23:28:30 +1000 Subject: Fix /run permissions in chroot Signed-off-by: Allan McRae Signed-off-by: Pierre Schmitz --- mkarchroot.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3-70-g09d2