From 893362346880455b99d66b76104768dda0ea869a Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Mon, 4 Nov 2024 22:37:57 +0200 Subject: [PATCH] fix(wordpress): less aggressive `chown` --- features/src/wordpress/devcontainer-feature.json | 2 +- features/src/wordpress/setup-wordpress.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/src/wordpress/devcontainer-feature.json b/features/src/wordpress/devcontainer-feature.json index 5866781d..171b6577 100644 --- a/features/src/wordpress/devcontainer-feature.json +++ b/features/src/wordpress/devcontainer-feature.json @@ -2,7 +2,7 @@ "id": "wordpress", "name": "WordPress", "description": "Sets up WordPress into the Dev Environment", - "version": "2.6.3", + "version": "2.6.4", "documentationURL": "https://github.com/Automattic/vip-codespaces/tree/trunk/features/src/wordpress", "containerEnv": { "WP_CLI_CONFIG_PATH": "/etc/wp-cli/wp-cli.yaml" diff --git a/features/src/wordpress/setup-wordpress.sh b/features/src/wordpress/setup-wordpress.sh index 22c9bc69..adfbd30a 100755 --- a/features/src/wordpress/setup-wordpress.sh +++ b/features/src/wordpress/setup-wordpress.sh @@ -61,7 +61,7 @@ if [ -e "${base}/vip-config" ]; then sudo rm -rf /wp/vip-config fi -sudo chown -R "${MY_UID}:${MY_GID}" /wp +sudo chown "${MY_UID}:${MY_GID}" /wp/* /wp/wp-content/* for i in client-mu-plugins images languages plugins themes; do if [ -e "${base}/${i}" ]; then