From d75ee679e08e15b43a0390f2ff8c1601ff127313 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 22 Aug 2021 17:20:03 -0500 Subject: [PATCH] Different wordpress chmod --- CentOS/Nginx/Install-Wordpress.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CentOS/Nginx/Install-Wordpress.bash b/CentOS/Nginx/Install-Wordpress.bash index 312ee84..0b13805 100644 --- a/CentOS/Nginx/Install-Wordpress.bash +++ b/CentOS/Nginx/Install-Wordpress.bash @@ -263,8 +263,8 @@ curl https://wordpress.org/latest.tar.gz --output wordpress_latest.tar.gz \ && cp "${server_sites_dir}"/wp-config-sample.php "${server_sites_dir}"/wp-config.php \ && log "info" "Successfully installed wordpress" -log "info" "Setting proper permissions for wp-content so plugins etc. can be installed" -chmod -R 777 "${server_sites_dir}/wp-content" # can't be fucked to figure out the correct perms :shrug: +log "info" "Setting proper permissions for wordpress directory" +chmod -R 777 "${server_sites_dir}"/* # can't be fucked to figure out the correct perms :shrug: wp_config_location="${server_sites_dir}"/wp-config.php while read -r line; do