#!/bin/bash -e
-dup ctsim -Uwww.kpe.io -D/home/ftp/ctsim -C"(umask 022; cd /srv/www/html/ctsim; make install)" -su $*
-
+dup ctsim -Ufiles.kpe.io -D/home/ftp/ctsim -su \
+ -C"(umask 022; cd /srv/www/html/ctsim; make install; find . -type d |xargs chmod go+rx; find . -type f | xargs chmod go+r)" $*