Skip to content

Commit 5be4747

Browse files
author
Christer Barreholm
committed
fix: --version container maps host user to uid 1000, not 1001
The image's claude user is uid 1000 and the main run path already uses keep-id:uid=1000,gid=1000; only the --version path mapped to 1001, leaving the host user unmapped to the account the process runs as.
1 parent aacb5d2 commit 5be4747

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/claude

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ while [[ $# -gt 0 ]]; do
7272
podman run \
7373
--rm \
7474
--user claude \
75-
--userns=keep-id:uid=1001,gid=1001 \
75+
--userns=keep-id:uid=1000,gid=1000 \
7676
$PODMAN_ARGS \
7777
"$IMAGE" --version
7878
exit 0

0 commit comments

Comments
 (0)