[arch-projects] [devtools][PATCH] Fix /run permissions in chroot
14 Jun
2012
14 Jun
'12
3:28 p.m.
Signed-off-by: Allan McRae <allan@archlinux.org> --- 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}" -- 1.7.10.4
4578
Age (days ago)
4578
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae