eris/sandbox_fs
Andrew Hamilton 60fe921881 Let vigil run without sudo.
Now using user namespaces which allow unprivileged users to create
the sandbox.
2016-11-09 01:30:40 +01:00

9 lines
150 B
Bash
Executable file

#!/bin/bash
set -e
SCRIPT_PATH=$(realpath $0)
SCRIPT_DIR=$(dirname $SCRIPT_PATH)
unshare --mount --map-root-user "$SCRIPT_DIR/sandbox_fs.py" "$@"