mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
fix(docker): warn on workspace gid mismatch as well as uid
This commit is contained in:
1 parent
3ad90e5894
commit
b3394a976e
3 files changed
+43
-15
No files matched your search
@@ -92,7 +92,7 @@ if ! align_container_user node; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
warn_if_workspace_owner_differs /workspace "$OCM_TARGET_UID"
|
||||
warn_if_workspace_owner_differs /workspace "$OCM_TARGET_UID" "$OCM_TARGET_GID"
|
||||
|
||||
mkdir -p /app/data /workspace /home/node/.cache /home/node/.opencode
|
||||
chown -R node:node /app/data /workspace /home/node
|
||||
|
||||
Reference in new issue
Block a user