Update nodemgmt-scripts.sh

This commit is contained in:
2022-04-02 17:30:49 -05:00
parent 089c7b2a6b
commit a6a42f773e

View File

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