summaryrefslogtreecommitdiff
blob: 91c4fcf10fdfc5cace4664f7f5b767f017e89567 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [[ "$1" = "install" ]]; then
	chgrp -R dspam "${VHOST_CGIBINDIR}"
	chown dspam "${VHOST_CGIBINDIR}" "${VHOST_CGIBINDIR}"/*.cgi
	chmod -R ugo+r "${VHOST_CGIBINDIR}"
	chmod 0755 "${VHOST_CGIBINDIR}"
	chmod ugo+rx "${VHOST_CGIBINDIR}"/*.cgi
fi