Commit 8fca5d6
committed
smoke_test: guard that /work is writable by the runtime user (WebGUI)
The webgui permission bugs (#25, then its uid==0 fallback) shipped because the
smoke test never wrote into /work, so CI couldn't tell that the GUI process can't
create a project there. Add a webgui-only guard that does the same write fvsOL
does (a dir under /work) through the entrypoint-selected user. In CI /work is
root-owned and unmounted, so a non-root runtime user (the #25 fvs-on-uid-0
fallback) fails this guard; running as the mount owner (root, per #26) passes.
Cluster image skips it (no fvsOL; it runs as fvs against a separately-bound cwd).
Locks the permission class so a future entrypoint change can't silently
reintroduce it.
https://claude.ai/code/session_011C6wxKosiwHnEYvAPJfmcW1 parent 2fd3a8d commit 8fca5d6
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
106 | 123 | | |
107 | 124 | | |
108 | 125 | | |
| |||
0 commit comments