From 5ac08545cee2e75d2a6aeca662c0e87a4643c465 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 14 Oct 2022 22:17:35 -0700 Subject: [PATCH] just try root instead --- absurdism | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/absurdism b/absurdism index 4624377..62fb637 100755 --- a/absurdism +++ b/absurdism @@ -1,13 +1,10 @@ #!/usr/bin/env sh : \ - && [ "$(id -u)" -eq 0 ] \ && [ -s build-all ] \ && { [ -d out ] || mkdir out || exit ;} \ - && chmod -R 0755 . \ - && chown -R 0:1000 . \ - && chmod -R 0775 out \ && podman run -v="$(readlink -f .)":/stargazing -e=TERM=$TERM -it --rm \ - --security-opt label=disable --user podman quay.io/podman/stable \ + --cap-add=sys_admin,mknod --device=/dev/fuse --security-opt label=disable \ + --user root quay.io/podman/stable \ /stargazing/build-all \ || { e=$?; echo something died; exit $e ;} \ ;