From ba371f6417da616005a4eb6417bedcb2ece53a66 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 4 Dec 2024 16:44:01 +0100 Subject: [PATCH] Fix permission issues --- scripts/Common/Software/docker/services/forgejo/main.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Common/Software/docker/services/forgejo/main.fish b/scripts/Common/Software/docker/services/forgejo/main.fish index c65b09a4..87aa26f8 100755 --- a/scripts/Common/Software/docker/services/forgejo/main.fish +++ b/scripts/Common/Software/docker/services/forgejo/main.fish @@ -70,8 +70,8 @@ begin yq "$envKey.USER_GID = $gid" | sudo tee "$config" >/dev/null - mkdir -p "$dir" - and chown -R $uid:$gid "$dir" + sudo mkdir -p "$dir" + and sudo chown -R $uid:$gid "$dir" rm "$file" set port (yq (getSSHPortKey) "$overrides" | extractPort)