From f9e2e05c9e80cd3e20769e98ae50f6249a7d3622 Mon Sep 17 00:00:00 2001 From: William Phetsinorath Date: Thu, 24 Oct 2024 11:50:06 +0200 Subject: [PATCH] Fix cache permissions --- src/common-caches/devcontainer-feature.json | 2 +- src/common-caches/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common-caches/devcontainer-feature.json b/src/common-caches/devcontainer-feature.json index 01e28c9..30f79e3 100644 --- a/src/common-caches/devcontainer-feature.json +++ b/src/common-caches/devcontainer-feature.json @@ -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": [ diff --git a/src/common-caches/install.sh b/src/common-caches/install.sh index 33af5bf..60abec3 100755 --- a/src/common-caches/install.sh +++ b/src/common-caches/install.sh @@ -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}"