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.
This commit is contained in:
mauvehed 2023-10-29 10:05:16 -05:00
parent f5240abbe5
commit a021b71496

View File

@ -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