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)