Skip to content

Commit

Permalink
fix(wordpress): less aggressive chown
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Nov 4, 2024
1 parent a38618d commit 8933623
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/src/wordpress/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion features/src/wordpress/setup-wordpress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8933623

Please sign in to comment.