diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index bdb98680..ad976420 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1198,8 +1198,8 @@ SET-PERMISSIONS(){ checkhost=$(CHECK_HOST ${nip}) if [ "${checkhost}" != "false" ]; then ${NCMD} chown -R www-data:www-data /mnt/Nextcloud-Data - ${NCMD} find /mnt/Nextcloud-Data/ -type d -exec chmod 750 {} \; - ${NCMD} find /mnt/Nextcloud-Data/ -type f -exec chmod 640 {} \; + ${NCMD} find /mnt/Nextcloud-Data/ -type d -exec chmod 770 {} \; + ${NCMD} find /mnt/Nextcloud-Data/ -type f -exec chmod 660 {} \; if [ "${2}" != "q" ]; then echo -e "${idsCL[Green]}Complete${idsCL[Default]}" fi