diff --git a/bin/fix_perms.sh b/bin/fix_perms.sh new file mode 100755 index 0000000..e669b40 --- /dev/null +++ b/bin/fix_perms.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +wwwroot=/usr/local/www/owl/dms + +chown -R www:wheel $wwwroot +touch $wwwroot/log.txt +#chown -R www:www $wwwroot/log.txt $wwwroot/Documents +chmod -R 750 $wwwroot/Documents/* diff --git a/bin/remote_update.sh b/bin/remote_update.sh index eafd045..d5ad73e 100755 --- a/bin/remote_update.sh +++ b/bin/remote_update.sh @@ -19,6 +19,9 @@ cvs -d $cvsroot co owl cd owl/Documents cvs update -d +# remove CVS directories +find $tmp -name CVS -exec rm -rf {} \; 2> /dev/null + # tar it up tar -czvf /tmp/owl.tgz $tmp