Skip to content

Commit acba702

Browse files
corbinlcclaude
andcommitted
Add chmod +r /bin/bbsuid for Alpine busybox-suid
bbsuid is installed without read permissions by default; proot needs to be able to read the binary to intercept setuid calls via L2S. Matches the original tar.gz build in UserLAnd-Assets-Alpine/input/main.sh. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 7c93777 commit acba702

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Dockerfile.alpine

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ RUN printf 'https://dl-cdn.alpinelinux.org/alpine/latest-stable/main\nhttps://dl
1919
twm expect shadow wget curl pulseaudio && \
2020
rm -rf /var/cache/apk/*
2121

22+
RUN chmod +r /bin/bbsuid
23+
2224
RUN printf 'auth sufficient pam_shells.so\n' > /etc/pam.d/chsh
2325

2426
RUN printf '#!/bin/sh\nunset LD_PRELOAD\nunset LD_LIBRARY_PATH\nexport LIBGL_ALWAYS_SOFTWARE=1\n' \

0 commit comments

Comments
 (0)