Skip to content

Commit

Permalink
fix(base): ownership/permissions of ~/.local
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Aug 13, 2024
1 parent 0e2665c commit a6a0e02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion features/src/base/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"id": "base",
"name": "VIP Codespaces Base",
"version": "1.2.2",
"version": "1.2.3",
"description": "Base feature for VIP Codespaces",
"documentationURL": "https://github.com/Automattic/vip-codespaces/tree/trunk/features/src/base",
"containerEnv": {
"PAGER": "/usr/bin/less -R",
"LD_PRELOAD": "/usr/lib/libeatmydata/libeatmydata.so"
Expand Down
1 change: 1 addition & 0 deletions features/src/base/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ fi

HOME_DIR="$(getent passwd "${_REMOTE_USER}" | cut -d: -f6)"

install -d -D -m 0755 -o "${_REMOTE_USER}" -g "${_REMOTE_USER}" "${HOME_DIR}/.local"
install -d -D -m 0755 -o "${_REMOTE_USER}" -g "${_REMOTE_USER}" "${HOME_DIR}/.local/share/vip-codespaces"
install -d -D -m 0755 -o "${_REMOTE_USER}" -g "${_REMOTE_USER}" "${HOME_DIR}/.local/share/vip-codespaces/login"

Expand Down

0 comments on commit a6a0e02

Please sign in to comment.