Skip to content

Commit 26e702b

Browse files
committed
fix(rootfs): incorrect dir permissions
1 parent cd3e65e commit 26e702b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup-alpine.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ rc-update add agent boot
2727

2828
for d in bin etc lib root sbin usr; do tar c "/$d" | tar x -C /my-rootfs; done
2929
for dir in dev proc run sys var tmp; do mkdir /my-rootfs/${dir}; done
30+
31+
chmod 1777 /my-rootfs/tmp
32+
mkdir -p /my-rootfs/home/codebench/
33+
chown 1000:1000 /my-rootfs/home/codebench/

0 commit comments

Comments
 (0)