smeserver-phpki-ng/root/etc/e-smith/events/actions/phpki-fixownership

10 lines
238 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
chown root:phpki /opt/phpki/html/config.php
chown root:phpki /opt/phpki/html/openssl.cnf
chown phpki:phpki -R /opt/phpki/phpki-store*
chown root:phpki /opt/phpki/html/ca
chmod +x /opt/phpki/html/
chmod +x /opt/phpki/html/ca