[wp-trac] [WordPress Trac] #22900: is_writable function fails on Windows systems causing spurious http_request_failed error

WordPress Trac noreply at wordpress.org
Tue Jan 8 01:02:48 UTC 2013


#22900: is_writable function fails on Windows systems causing spurious
http_request_failed error
------------------------------+--------------------
 Reporter:  Otto42            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.5.1
Component:  HTTP              |     Version:  3.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by dd32):

 > Does this affect only IIS on Windows, or any server on Windows?

 I'm going to go with: It affects PHP when running on windows in locked
 down user accounts, IIS specifically respects windows permissions to the
 dot, in addition to that, it has it's own set of permissions on top of the
 filesystem permissions, and runs PHP within a special user account.

 Apache + windows on the other hand, is often configured differently, often
 running in a user account which has read access to a lot more than it
 needs to, since it's often configured as a regular user on the system.

 Since it's a PHP bug of not respecting permissions (and instead, relying
 upon the read only flags) it will apply to any account which has
 permission limitations applied to it, which can't be expressed in that
 boolean read only flag.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22900#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list