From 904e7a5c2a64f381bba6c26187f1a16b62ce7049 Mon Sep 17 00:00:00 2001 From: Aurelia Date: Sat, 25 Oct 2025 15:26:13 +0200 Subject: [PATCH] setup.sh: don't preserve permissions for application assets fixes #768 Signed-off-by: Aurelia --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index d2fd139..126238d 100755 --- a/setup.sh +++ b/setup.sh @@ -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"