fix permissions on conf and log directory
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 31 Jul 2009 12:53:48 +0000 (12:53 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 31 Jul 2009 12:53:48 +0000 (12:53 +0000)
bin/fix-perms.sh [new file with mode: 0755]

diff --git a/bin/fix-perms.sh b/bin/fix-perms.sh
new file mode 100755 (executable)
index 0000000..9b58f9b
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+sudo sh -c 'chgrp -Rv $SUDO_GID log conf'
+sudo chmod -Rv g+w log conf