Commit 27c5ca0
claude-code: chown ~/.cache after upstream installer run (3.0.1)
The official install.sh runs as root with HOME=$USER_HOME and writes into
$HOME/.cache (its own state dir, plus $HOME/.cache/node-gyp when native
modules compile). Those paths were left root-owned because the chown only
covered .claude and .local — which is how downstream tools like web-shell
hit EACCES on mkdir ~/.cache/<anything>/.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0c2ee41 commit 27c5ca0
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
22 | 30 | | |
23 | 31 | | |
24 | 32 | | |
| |||
0 commit comments