Skip to content

Instantly share code, notes, and snippets.

@njpanderson
njpanderson / fix-wordpress-permissions.sh
Last active May 21, 2017 05:18 — forked from Adirael/fix-wordpress-permissions.sh
Fix wordpress file permissions
#!/bin/bash
#
# This script configures WordPress file permissions based on recommendations
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions
#
# Original Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
# Edited By: Neil Anderson <njp.anderson [at] icloud [dot] com>
#
# This script is provided AS-IS and no warranty is implied. You use this file
# AT YOUR OWN RISK and I cannot be held responsible if it damages, corrupts,