#!/bin/bash voldata='/home/lemon/Nextcloud/' printf "chmod Files and Directories\n" find ${voldata}/ -type f -print0 | xargs -0 chmod 0640 find ${voldata}/ -type d -print0 | xargs -0 chmod 0750