Fixed wordpress permissions

This commit is contained in:
root 2023-09-27 17:02:56 +00:00
parent 02a87a0a8d
commit d87a126f6e

View File

@ -80,7 +80,8 @@ start_wordpress() {
# Start service with command to make sure it's up before proceeding
start_service "wordpress" "nc -z 172.99.0.34 8080 &> /dev/null" "7"
chown -R 755 /federated/apps/wordpress/data/bitnami/wordpress/wp-content
chmod -R 755 /federated/apps/wordpress/data/bitnami/wordpress/wp-content
sleep 7
chmod 740 /federated/apps/wordpress/data/bitnami/wordpress/wp-content/wp-config.php
kill -9 $SPINPID &> /dev/null