Fix WP uploads folder permissions [MAILPOET-1166]
This commit is contained in:
@ -14,7 +14,9 @@ done
|
|||||||
# Make sure permissions are correct.
|
# Make sure permissions are correct.
|
||||||
cd /wp-core
|
cd /wp-core
|
||||||
chown www-data:www-data wp-content/plugins
|
chown www-data:www-data wp-content/plugins
|
||||||
|
chown www-data:www-data wp-content/uploads
|
||||||
chmod 755 wp-content/plugins
|
chmod 755 wp-content/plugins
|
||||||
|
chmod -R 777 wp-content/uploads
|
||||||
|
|
||||||
# Make sure WordPress is installed.
|
# Make sure WordPress is installed.
|
||||||
if ! $(wp-su core is-installed); then
|
if ! $(wp-su core is-installed); then
|
||||||
|
Reference in New Issue
Block a user