File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,8 +103,8 @@ if (Test-Path $INSTALL_DIR) {
103103 if (Test-Path $EXTRACT_PATH ) { Remove-Item - Recurse - Force $EXTRACT_PATH }
104104 }
105105
106- # Grant read and execute to all users
107- icacls " $INSTALL_DIR " / grant " Users:(OI)(CI)RX " / T | Out-Null
106+ # Grant modify access to all users — allows editing config files without Administrator
107+ icacls " $INSTALL_DIR " / grant " Users:(OI)(CI)M " / T | Out-Null
108108
109109 # Grant write access to the logs directory — the backend writes log files at runtime
110110 $logsDir = " $INSTALL_DIR \Backend\logs"
Original file line number Diff line number Diff line change @@ -127,8 +127,8 @@ if (Test-Path $INSTALL_DIR) {
127127 if (Test-Path $EXTRACT_PATH ) { Remove-Item - Recurse - Force $EXTRACT_PATH }
128128 }
129129
130- # Grant read and execute to all users so the app runs without Administrator
131- icacls " $INSTALL_DIR " / grant " Users:(OI)(CI)RX " / T | Out-Null
130+ # Grant modify access to all users — allows editing config files without Administrator
131+ icacls " $INSTALL_DIR " / grant " Users:(OI)(CI)M " / T | Out-Null
132132
133133 # Grant write access to the logs directory — the app writes log files at runtime
134134 $logsDir = " $INSTALL_DIR \Frontend\logs"
You can’t perform that action at this time.
0 commit comments