Opened 8 years ago
Closed 7 years ago
#46409 closed enhancement (duplicate)
Wrong Permisson for wp-config.php
| Reported by: | boleynsu | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Upgrade/Install | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
wp-config.ph is chmoded to 0666 which should be 0660.
in /wp-admin/setup-config.php
chmod( $path_to_wp_config, 0666 );
BTW, it would be better to chmod wp-config-sample.php to 0660 in the whatever package since user sometimes copy and modify wp-config-sample.php to wp-config.php
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hello @boleynsu and welcome to Trac!
I created a patch, let's & see ;-)
many thanks for your contribution