From a4a9b164464d2a54d7c08c184999bf17ac83fbd3 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 8 Aug 2024 00:48:18 +0200 Subject: [PATCH] Fix permission issue --- winiso/deploy.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winiso/deploy.fish b/winiso/deploy.fish index 68fe78a3..de09f8c6 100755 --- a/winiso/deploy.fish +++ b/winiso/deploy.fish @@ -157,6 +157,7 @@ begin begin set -l wimFile "$winOverlay/$wimFile" + chmod u+w (dirname "$wimFile") chmod u+w "$wimFile" while [ ! (wiminfo "$wimFile" 1 | grep "^$editionField" | cut -d ":" -f2 | string trim) = "Professional" ] @@ -169,6 +170,7 @@ begin wimoptimize "$wimFile" chmod u-w "$wimFile" + chmod u-w (dirname "$wimFile") end begin