2015-09-07 | Paul Boddie | raw annotate files changeset graph | Changed names to use more accurate or clearer terminology, fixing free/busy updates in certain circumstances where the current object is to be used, as opposed to any stored object (which may not yet be stored). |
1 #!/bin/sh 2 3 USER=imip-agent 4 GROUP=lmtp 5 INSTALL_DIR=/var/lib/imip-agent 6 WEB_INSTALL_DIR=/var/www/imip-agent 7 8 chown -R "$USER" "$INSTALL_DIR" 9 chgrp -R "$GROUP" "$INSTALL_DIR" 10 11 for DIR in "$INSTALL_DIR"/store "$INSTALL_DIR"/preferences "$WEB_INSTALL_DIR"/static ; do 12 chown -R "$USER" "$DIR" 13 chgrp -R "$GROUP" "$DIR" 14 chmod -R g+w "$DIR" 15 done