Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user