Skip to content

Commit

Permalink
fix(wordpress): reset permissions of /wp/wp-content in the installer
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed May 31, 2024
1 parent e0a6972 commit 59a4a7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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.3.3",
"version": "2.3.4",
"containerEnv": {
"WP_CLI_CONFIG_PATH": "/etc/wp-cli/wp-cli.yaml"
},
Expand Down
1 change: 1 addition & 0 deletions features/src/wordpress/setup-wordpress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ done

if [ -n "${WP_PERSIST_UPLOADS}" ]; then
sudo install -d -o "${MY_UID}" -g "${MY_GID}" -m 0755 /workspaces/uploads
sudo install -d -o "${MY_UID}" -g "${MY_GID}" -m 0755 /wp/wp-content
ln -sf /workspaces/uploads /wp/wp-content/uploads
else
sudo install -d -o "${MY_UID}" -g "${MY_GID}" -m 0755 /wp/wp-content/uploads
Expand Down

0 comments on commit 59a4a7e

Please sign in to comment.