From 09d90c648f09129f8f43e1f66e5f66bfad875e01 Mon Sep 17 00:00:00 2001 From: Mariyan Dimitrov Date: Tue, 5 Dec 2023 16:18:44 +0200 Subject: [PATCH] fix(perms): Grant _daemon_ perms --- discourse_rock/rockcraft.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/discourse_rock/rockcraft.yaml b/discourse_rock/rockcraft.yaml index 882ee911..9cefbc1f 100644 --- a/discourse_rock/rockcraft.yaml +++ b/discourse_rock/rockcraft.yaml @@ -237,7 +237,11 @@ parts: craftctl default mkdir -p var/lib/pebble/default/.npm mkdir -p var/lib/pebble/default/.cache + mkdir -p var/lib/pebble/default/.config + mkdir -p var/lib/pebble/default/.yarn touch var/lib/pebble/default/.yarnrc chown -R 584792:584792 var/lib/pebble/default/.npm chown -R 584792:584792 var/lib/pebble/default/.cache + chown -R 584792:584792 var/lib/pebble/default/.config + chown -R 584792:584792 var/lib/pebble/default/.yarn chown 584792:584792 var/lib/pebble/default/.yarnrc