Fix permission issue
This commit is contained in:
parent
5d0c332ab5
commit
a4a9b16446
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue