[arch-projects] [devtools][PATCH] Fix /run permissions in chroot
Allan McRae
allan at archlinux.org
Thu Jun 14 09:28:30 EDT 2012
Signed-off-by: Allan McRae <allan at 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
More information about the arch-projects
mailing list