From bb550fc9cd8f97bafcfc969f18bb939cfbf497f5 Mon Sep 17 00:00:00 2001 From: Hadi Chokr Date: Wed, 25 Feb 2026 11:04:22 +0100 Subject: [PATCH] Hotfix: Own as the Build User --- build.sh | 1 + upload-to-storage.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 100e5eb..84b886c 100755 --- a/build.sh +++ b/build.sh @@ -196,5 +196,6 @@ zstd --threads=0 --rm ${OUTPUT}_root-x86-64.tar # TODO before accepting new uploads perform sanity checks on the artifacts (e.g. the tar being well formed) # efi images and torrents are 700, make them readable so the server can serve them +chown -R "$USER":"$USER" mkosi.output chmod go+r "$OUTPUT".* ./mkosi.output/*.efi ./mkosi.output/*.torrent ls -lah diff --git a/upload-to-storage.sh b/upload-to-storage.sh index da6df04..afeddd3 100755 --- a/upload-to-storage.sh +++ b/upload-to-storage.sh @@ -17,7 +17,7 @@ if [ ! -d upload-tree ]; then # Skip test images continue fi - sudo mv "$f" upload-tree/ + mv "$f" upload-tree/ done fi