Opened 6 years ago
Closed 6 years ago
#46409 closed enhancement (duplicate)
Wrong Permisson for wp-config.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-patch |
Focuses: | Cc: |
Description
wp-config.ph is chmod
ed 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.
Hello @boleynsu and welcome to Trac!
I created a patch, let's & see ;-)
many thanks for your contribution