Skip to content

Commit 1ce3750

Browse files
committed
Try removing chmod 666 wp-config.php
1 parent 12b4457 commit 1ce3750

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/local-env/scripts/install.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ local_env_utils.determine_auth_option();
1515
// Create wp-config.php.
1616
wp_cli( `config create --dbname=wordpress_develop --dbuser=root --dbpass=password --dbhost=mysql --force --config-file="wp-config.php"` );
1717

18-
// Since WP-CLI runs as root, the wp-config.php created above will be read-only. This needs to be writable for the sake of E2E tests.
19-
execSync( 'node ./tools/local-env/scripts/docker.js exec cli chmod 666 wp-config.php' );
20-
2118
// Add the debug settings to wp-config.php.
2219
// Windows requires this to be done as an additional step, rather than using the --extra-php option in the previous step.
2320
wp_cli( `config set WP_DEBUG ${process.env.LOCAL_WP_DEBUG} --raw --type=constant` );

0 commit comments

Comments
 (0)