Skip to content

Instantly share code, notes, and snippets.

Avatar

Ender endersaka

View GitHub Profile
@macbleser
macbleser / wp-permissions-script
Created Feb 21, 2014
WordPress Permissions Configuration Script
View wp-permissions-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