diff --git a/enter_chroot.sh b/enter_chroot.sh index 5c7f07b52a..3b41209e71 100755 --- a/enter_chroot.sh +++ b/enter_chroot.sh @@ -275,6 +275,9 @@ function setup_env { fi fi + # Fix permissions on shared memory to allow non-root users access to POSIX + # semaphores. + sudo chmod -R 777 "${FLAGS_chroot}/dev/shm" ) 200>>"$LOCKFILE" || die "setup_env failed" }