[wp-trac] [WordPress Trac] #40910: Limit writable directories required by WordPress unit test suite

WordPress Trac noreply at wordpress.org
Wed Mar 13 07:41:56 UTC 2019


#40910: Limit writable directories required by WordPress unit test suite
------------------------------+-----------------------------
 Reporter:  danielbachhuber   |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------------
Changes (by andraganescu):

 * keywords:   => needs-patch
 * milestone:  Awaiting Review => Future Release


Comment:

 Reading through #30284 it appears that the original intention was to
 remove all the .trac-ticket-cache.* but apparently it got omitted.

 Indeed we should use wp_tempnam() instead of hardcoding /tmp/ paths and
 failing gracefully, seems a sensible idea.

 Also, what do you mean by "permitting some write directories to be
 configurable with a constant or environment variable", I'm not sure I
 understand what this means. Do you have a specific case in mind for this?

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


More information about the wp-trac mailing list