Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(install.sh): change ownership and permissions only for /data/coolify directory instead of /data The ownership and permissions are now set only for the /data/coolify directory instead of the entire /data directory. This ensures that the ownership and permissions are applied only to the necessary directory and not to other directories within /data.

mauveheda021b714967b
diff --git a/scripts/install.sh b/scripts/install.sh
index 293c54e275..26823f55ba 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -94,8 +94,8 @@ mkdir -p /data/coolify/ssh/mux
mkdir -p /data/coolify/source
mkdir -p /data/coolify/proxy/dynamic
-chown -R 9999:root /data
-chmod -R 700 /data
+chown -R 9999:root /data/coolify
+chmod -R 700 /data/coolify
echo "Downloading required files from CDN..."
curl -fsSL $CDN/docker-compose.yml -o /data/coolify/source/docker-compose.yml