Commit 8070ff9
committed
fix(install): set correct ownership and permissions for user config files
When installer runs with sudo, config directory and file were created
with root ownership, making them inaccessible to the user. Now:
- Config directory set to 700 (owner-only access)
- Config file set to 600 (owner read/write only)
- Ownership transferred to $SUDO_USER when running with sudo1 parent 1118f99 commit 8070ff9
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
250 | 259 | | |
251 | 260 | | |
252 | 261 | | |
| |||
0 commit comments