From 0f188bc86910e4b1a6626f4bd7a11032270584cd Mon Sep 17 00:00:00 2001 From: cocomeow Date: Mon, 30 Aug 2021 18:00:26 +0800 Subject: [PATCH] remove sudo user --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 73010ce..f2f12f3 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -38,10 +38,10 @@ getfacl -p -R "$pkgbuild_dir" /github/home > /tmp/arch-pkgbuild-builder-permissi # '/github/workspace' is mounted as a volume and has owner set to root # set the owner of $pkgbuild_dir to the 'build' user, so it can access package files. -sudo chown -R build "$pkgbuild_dir" +# sudo chown -R build "$pkgbuild_dir" # needs permissions so '/github/home/.config/yay' is accessible by yay -sudo chown -R build /github/home +# sudo chown -R build /github/home # use more reliable keyserver mkdir -p /github/home/.gnupg/ @@ -76,4 +76,4 @@ case $target in echo "Target should be one of 'pkgbuild', 'srcinfo', 'run'" ;; esac -sudo setfacl --restore=/tmp/arch-pkgbuild-builder-permissions.bak +# sudo setfacl --restore=/tmp/arch-pkgbuild-builder-permissions.bak