Update nextcloud-install.sh - only chmod datadir on new install

This commit is contained in:
tschettervictor
2024-12-05 07:44:13 -07:00
committed by GitHub
parent 0879a4ea97
commit 64f5a7a9b2

View File

@@ -161,7 +161,9 @@ mkdir -p /usr/local/www/nextcloud/config
mkdir -p /usr/local/www/nextcloud/themes
mkdir -p /var/log/nextcloud/
chown -R www:www /var/log/nextcloud
chown -R www:www /mnt/files
if [ "${REINSTALL}" != "true" ]; then
chown -R www:www /mnt/files
fi
chmod -R 770 /mnt/files
# Install Additional Database Packages