Different wordpress chmod

This commit is contained in:
Price Hiller 2021-08-22 17:20:03 -05:00
parent 1a84acf7de
commit d75ee679e0

View File

@ -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