From fb0bb3a56d4a76c1aba2e82ec413373ac772d111 Mon Sep 17 00:00:00 2001 From: Romain Avouac <43444134+avouacr@users.noreply.github.com> Date: Thu, 14 Nov 2024 11:36:49 +0100 Subject: [PATCH] fix(rstudio): permissions on rstudio-prefs.json --- scripts/onyxia-init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/onyxia-init.sh b/scripts/onyxia-init.sh index 4515a9c..5d30394 100644 --- a/scripts/onyxia-init.sh +++ b/scripts/onyxia-init.sh @@ -171,6 +171,7 @@ if [[ "$DARK_MODE" == "true" ]]; then fi if command -v rstudio-server; then jq '. + {"editor_theme": "Vibrant Ink"}' ${HOME}/.config/rstudio/rstudio-prefs.json > ${HOME}/tmp.settings.json && mv ${HOME}/tmp.settings.json ${HOME}/.config/rstudio/rstudio-prefs.json + chown -R ${USERNAME}:${GROUPNAME} ${HOME}/.config fi fi