[wp-trac] [WordPress Trac] #40572: .htaccess has incorrect permissions after installation

WordPress Trac noreply at wordpress.org
Wed Jun 7 12:33:28 UTC 2017


#40572: .htaccess has incorrect permissions after installation
----------------------------------------+------------------------------
 Reporter:  i3anaan                     |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Upgrade/Install             |     Version:  4.7.4
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  administration
----------------------------------------+------------------------------

Comment (by rcutmore):

 Hi @dd32

 I added
 [https://core.trac.wordpress.org/attachment/ticket/40572/40572.patch
 40572.patch] to ensure a minimum set of permissions when creating the
 `.htaccess` file. I manually tested the patch and it resolves the issue
 for me when using a server umask of 0066. Should there be a unit test
 created for this?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40572#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list