You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: bash: line 2: cd: /data/coolify/proxy/caddy: Permission denied
Steps to Reproduce
Install Coolify as non-root user with sudo access.
Try to change proxy.
Example Repository URL
No response
Coolify Version
v4.0.0-beta.367
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04.3 LTS
Additional Information
Initially these directories are provisioned with the correct 9999:0 permissions, but it seems Coolify (ab)uses its sudo access to set the wrong permissions when provisioning the proxy.
/data/coolify# ll
total 40
drwx------ 10 9999 root 4096 Nov 12 14:12 ./
drwx------ 3 9999 root 4096 Nov 12 14:12 ../
drwx------ 2 9999 root 4096 Nov 12 14:12 applications/
drwx------ 2 9999 root 4096 Nov 12 14:12 backups/
drwx------ 2 9999 root 4096 Nov 12 14:12 databases/
drwx------ 4 coolify coolify 4096 Nov 12 14:17 proxy/
drwx------ 2 9999 root 4096 Nov 12 14:12 services/
drwx------ 2 9999 root 4096 Nov 12 14:12 source/
drwx------ 4 9999 root 4096 Nov 12 14:13 ssh/
drwx------ 2 9999 root 4096 Nov 12 14:12 webhooks-during-maintenance/
Even manually resetting the permissions for this directory has no effect, since Coolify is constantly overwriting them with incorrect ownership, to such an extent that it is actually impossible to start the Caddy proxy at all with a non-root user.
The text was updated successfully, but these errors were encountered:
Bilge
added
🐛 Bug
Reported issues that need to be reproduced by the team.
🔍 Triage
Issues that need assessment and prioritization.
labels
Nov 12, 2024
Bilge
changed the title
[Bug]: Non-root user breaks proxy directory permissions
[Bug]: Non-root user breaks proxy
Nov 12, 2024
Error Message and Logs
When changing proxy type:
Steps to Reproduce
sudo
access.Example Repository URL
No response
Coolify Version
v4.0.0-beta.367
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04.3 LTS
Additional Information
Initially these directories are provisioned with the correct
9999:0
permissions, but it seems Coolify (ab)uses its sudo access to set the wrong permissions when provisioning the proxy.Even manually resetting the permissions for this directory has no effect, since Coolify is constantly overwriting them with incorrect ownership, to such an extent that it is actually impossible to start the Caddy proxy at all with a non-root user.
The text was updated successfully, but these errors were encountered: