diff --git a/make-appimage.sh b/make-appimage.sh index a58fe0b..33ea4c4 100644 --- a/make-appimage.sh +++ b/make-appimage.sh @@ -139,6 +139,12 @@ fi echo 'exec "$APPDIR/usr/bin/aiostreams-desktop" "$@"' >> "$appdir/AppRun" chmod +x "$appdir/AppRun" +# Release-normal permissions: the CI runs with a restrictive umask, and squashfs +# and pacman record staged modes verbatim, so 700 root-owned directories would +# otherwise be installed unreadable. Directories end up 755, executables keep +# their bits, and data files 644. +chmod -R a+rX,go-w "$appdir" + linuxdeploy="$tools/linuxdeploy-$image_arch" [ -f "$linuxdeploy" ] || { curl -fsSL -o "$linuxdeploy" \