From cdba0bdd79eef4e7b44d39b9b370dfbf015368fc Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 29 Jan 2003 13:36:55 +0000 Subject: [PATCH] readded fix_perms.sh --- bin/fix_perms.sh | 8 ++++++++ bin/remote_update.sh | 3 +++ 2 files changed, 11 insertions(+), 0 deletions(-) create mode 100755 bin/fix_perms.sh 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 -- libgit2 0.21.4