Skip to content

Instantly share code, notes, and snippets.

@inventortechie
inventortechie / wp-permissions-script
Created December 4, 2018 22:59 — forked from macbleser/wp-permissions-script
WordPress Permissions Configuration Script
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# Author: Michael Conigliaro
#
WP_OWNER=changeme # <-- wordpress owner
WP_GROUP=changeme # <-- wordpress group
WP_ROOT=/home/changeme # <-- wordpress root directory
{
"interfaces": {
"ethernet": {
"eth2": {
"address": [
"108.19.119.98/24",
"108.19.119.99/24",
"108.19.119.101/24",
"108.19.119.102/24",
"108.19.119.103/24",