Skip to content

Commit abe22bb

Browse files
committed
Fix permissions on generated files/folders when running as sudo
1 parent 5bc7435 commit abe22bb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ out/
1313
releases/
1414
sha512sums/
1515
tmp/
16+
web/

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,5 +201,5 @@ mkdir -p ${basedir}/out/uwp
201201
${podman_run} --ulimit nofile=32768:32768 -v ${basedir}/build-uwp:/root/build -v ${basedir}/out/uwp:/root/out ${registry}/godot-private/uwp:latest bash build/build.sh 2>&1 | tee ${basedir}/out/logs/uwp
202202

203203
if [ ! -z "$SUDO_UID" ]; then
204-
chown -R "${SUDO_UID}":"${SUDO_GID}" ${basedir}/out
204+
chown -R "${SUDO_UID}":"${SUDO_GID}" ${basedir}/out ${basedir}/mono-glue ${basedir}/godot.tar.gz
205205
fi

0 commit comments

Comments
 (0)