Skip to content

Commit c8571d6

Browse files
committed
fix homedir
1 parent 8402b54 commit c8571d6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/base/.devcontainer/scripts/root_install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,8 @@ current_gid="$(id -g vscode)"
7575
if [ "${current_gid}" != "${requested_gid}" ]; then groupmod -g "${requested_gid}" vscode; fi
7676
if [ "${current_uid}" != "${requested_uid}" ]; then usermod -u "${requested_uid}" -g "${requested_gid}" vscode; fi
7777
chown -R vscode:vscode /home/vscode
78+
79+
# link /home/vscode to /github/home for github actions to be able to access files in the container, and set permissions
80+
mkdir -p /github
81+
ln -s /home/vscode /github/home
82+
chown -R vscode:vscode /github/home

0 commit comments

Comments
 (0)