setup.sh: don't preserve permissions for application assets (#800)

fixes #768

Signed-off-by: Aurelia <git@acuteaura.net>
This commit is contained in:
Oskar Manhart
2025-10-25 22:19:46 +02:00
committed by GitHub
+2 -1
View File
@@ -1342,7 +1342,8 @@ function waConfigureOfficiallySupported() {
echo -n "Creating an application entry for ${APP_NAME}... "
# Copy the original, unmodified application assets.
$SUDO cp -r "./apps/${APP_NAME}" "${APPDATA_PATH}/apps"
# --no-preserve=mode is needed to avoid missing write permissions when copying from Nix store.
$SUDO cp -r --no-preserve=mode "./apps/${APP_NAME}" "${APPDATA_PATH}/apps"
local DESTINATION_INFO_FILE="${APPDATA_PATH}/apps/${APP_NAME}/info"