You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-apps/dspam-web/files/setperms

10 lines
255 B

#!/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