[wp-trac] [WordPress Trac] #46409: Wrong Permisson for wp-config.php

WordPress Trac noreply at wordpress.org
Mon Mar 4 07:37:24 UTC 2019


#46409: Wrong Permisson for wp-config.php
----------------------------+-----------------------------
 Reporter:  boleynsu        |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  5.1
 Severity:  minor           |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46409>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list