Skip to content

Commit 1b2e39f

Browse files
committed
fix: changes src directory so it is modifyable by default user
1 parent e6c5c49 commit 1b2e39f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Setup/setup_backend.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

Setup/setup_frontend.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)