Skip to content

Commit

Permalink
Fix cache permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
shikanime committed Oct 24, 2024
1 parent cc8066c commit f9e2e05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common-caches/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Common Caches",
"id": "common-caches",
"version": "3.1.2",
"version": "3.1.3",
"description": "Setup common caches for various package managers.",
"installsAfter": ["ghcr.io/devcontainers/features/common-utils"],
"mounts": [
Expand Down
2 changes: 1 addition & 1 deletion src/common-caches/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ else
fi

# Create cache folders with correct privs in case a volume is mounted here
cache_folders=(".cache" ".cache/pip" ".cache/nix" ".cache/huggingface" ".npm" ".pdm" ".mix" ".cargo")
cache_folders=(".cache" ".cache/pip" ".cache/nix" ".cache/huggingface" ".cache/npm" ".cache/pdm" ".cache/mise")
for folder in "${cache_folders[@]}"; do
mkdir -p "${user_home}/${folder}"
chown -R "${USERNAME}:${USERNAME}" "${user_home}/${folder}"
Expand Down

0 comments on commit f9e2e05

Please sign in to comment.