-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
thought to give it a shot to address #2 but seems to need some /claude folder which it does not have there (I did run the setup-yolo.sh to build image)
❯ yolo "modify setup ther to not modify shell for adding YOLO function to shell but rather installing yolo script like the one I crated under ~/.local/bin/yolo"
node:fs:2425
return binding.writeFileUtf8(
^
Error: EACCES: permission denied, open '/claude/debug/9343a0ce-8273-49bd-b8dd-a167cbdeb9fe.txt'
at Object.writeFileSync (node:fs:2425:20)
at Module.appendFileSync (node:fs:2507:6)
at Object.appendFileSync (file:///usr/local/share/npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:868)
at m (file:///usr/local/share/npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:11:87)
at Object.xr9 [as initialize] (file:///usr/local/share/npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:555:32517)
at file:///usr/local/share/npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3775:34514
at Q (file:///usr/local/share/npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:15070)
at _4I (file:///usr/local/share/npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4039:1654)
at h4I (file:///usr/local/share/npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:4097:13087) {
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/claude/debug/9343a0ce-8273-49bd-b8dd-a167cbdeb9fe.txt'
}
Node.js v22.21.1
yolo 1,54s user 39,59s system 369% cpu 11,131 total
❯ cat `which yolo`
#!/bin/sh
if [ -z "$*" ] ; then
echo "E: specify you invocation for claude"
exit 1
fi
podman run -it --rm \
--userns=keep-id \
-v ~/.claude:/claude:Z \
-v ~/.gitconfig:/tmp/.gitconfig:ro,Z \
-v "$(pwd):/workspace:Z" \
-w /workspace \
-e CLAUDE_CONFIG_DIR=/claude \
-e GIT_CONFIG_GLOBAL=/tmp/.gitconfig \
con-bomination-claude-code \
claude --dangerously-skip-permissions "$@"
❯ git remote -v
origin git@github.com:con/yolo (fetch)
origin git@github.com:con/yolo (push)
and indeed there is no that CLAUDE_CONFIG_DIR there
❯ podman run -it --rm --entrypoint ls con-bomination-claude-code -l /
total 16
lrwxrwxrwx 1 root root 7 Nov 3 15:44 bin -> usr/bin
drwxr-xr-x 1 root root 0 Aug 24 12:05 boot
drwxr-sr-x 1 node root 26 Nov 11 13:51 commandhistory
drwxr-xr-x 5 root root 360 Nov 11 14:00 dev
drwxr-sr-x 1 root root 18 Nov 11 14:00 etc
drwxr-xr-x 1 root root 8 Nov 4 06:03 home
lrwxrwxrwx 1 root root 7 Nov 3 15:44 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Nov 3 15:44 lib64 -> usr/lib64
drwxr-xr-x 1 root root 0 Nov 3 15:44 media
drwxr-xr-x 1 root root 0 Nov 3 15:44 mnt
drwxr-xr-x 1 root root 26 Nov 4 06:03 opt
dr-xr-xr-x 771 nobody nogroup 0 Nov 11 14:00 proc
drwx------ 1 root root 20 Nov 11 13:51 root
drwxr-xr-x 1 root root 26 Nov 11 14:00 run
lrwxrwxrwx 1 root root 8 Nov 3 15:44 sbin -> usr/sbin
drwxr-xr-x 1 root root 0 Nov 3 15:44 srv
dr-xr-xr-x 13 nobody nogroup 0 Nov 11 14:00 sys
drwxrwxrwt 1 root root 36 Nov 11 13:51 tmp
drwxr-xr-x 1 root root 10 Nov 3 15:44 usr
drwxr-xr-x 1 root root 12 Nov 3 15:44 var
drwxr-sr-x 1 node node 0 Nov 11 13:51 workspaceso what was it intended to be -- generated, or be the workspace/ or ??
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels