[wp-trac] [WordPress Trac] #27838: wp-admin/setup-config.php uses is_writable rather than win_is_writable

WordPress Trac noreply at wordpress.org
Wed Apr 16 21:04:12 UTC 2014


#27838: wp-admin/setup-config.php uses is_writable rather than win_is_writable
-----------------------------+------------------------------
 Reporter:  israelshirk      |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  3.9
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  administration
-----------------------------+------------------------------

Comment (by israelshirk):

 Actually, the wp_is_writable suffers from the same issue on CIFS
 filesystems (specifically iPage, FatCow, ...) - their permissions
 mechanisms resemble Windows as far as PHP is concerned, but are still on
 Linux, so the os check in wp_is_writable doesn't catch it.  Which, now
 that I'm looking at wp_is_writable, may have far-reaching implications.
 :/

 As far as we've found, the only good indicator as to whether it's writable
 is to try like win_is_writable does.

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


More information about the wp-trac mailing list