Commit 85193bd
fix: ensure workspace ownership for vscode user in coder (#419)
* fix: remove unnecessary coder binary move step in deployment workflow
* fix: ensure workspace ownership for vscode user in coder
Fixes npm and git permission errors by setting correct ownership
of the workspace directory before running any commands.
Changes:
- Added chown to fix workspace ownership in startup script
- Configured git safe.directory to prevent dubious ownership warnings
- Removed container user override (run as root, fix permissions)
Resolves:
- npm EACCES permission denied errors
- git dubious ownership warnings
- IDE file write permission issues
---------
Co-authored-by: Mohsin Hashmi <mhashmi@wiser.com>1 parent b0a1223 commit 85193bd
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
159 | 168 | | |
160 | 169 | | |
161 | 170 | | |
| |||
171 | 180 | | |
172 | 181 | | |
173 | 182 | | |
| 183 | + | |
174 | 184 | | |
175 | 185 | | |
176 | 186 | | |
| |||
264 | 274 | | |
265 | 275 | | |
266 | 276 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | 277 | | |
272 | 278 | | |
273 | 279 | | |
| |||
0 commit comments