All docker safe new perms is is a wrapper for the stock new perms script (tools - new perms) that runs it against every share except for your appdata share
The script itself is
function process {
list="$1"
[[ $# -ge 2 ]] && owner=$2 || owner=nobody
[[ $# -ge 3 ]] && group=$3 || group=users
ifs=$IFS; IFS='|'
for dir in $list; do
echo "$dir"
if [[ -d $dir ]]; then
echo processing "$dir"
echo ... chmod -R u-x,go-rwx,go+u,ugo+X "$dir"
chmod -R u-x,go-rwx,go+u,ugo+X "$dir"
echo ... chown -R $owner:$group "$dir"
chown -R $owner:$group "$dir"
echo ... sync
sync
fi
done
IFS=$ifs
}