Skip to content

Commit

Permalink
Fix permissions for wp-content during init
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Feb 6, 2018
1 parent 0a50b19 commit 6aa6172
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions actions/init-wordpress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ ${disclaimer} \\
require_once '${CONF_DIR}/wodby.wp-config.php';" "${wp_config}"
fi

chmod 775 "${WP_ROOT}/wp-content" || true
chmod 775 "${WP_ROOT}/wp-content/plugins" || true
chmod 775 "${WP_ROOT}/wp-content/themes" || true

# Symlink files dir
wp_content="${WP_ROOT}/wp-content"
mkdir -p "${wp_content}"
Expand Down

0 comments on commit 6aa6172

Please sign in to comment.