[wp-trac] [WordPress Trac] #20069: Wordpress upgrade process removed executable bits on .php files and so broke Wordpress

WordPress Trac noreply at wordpress.org
Tue Oct 1 05:00:43 UTC 2013


#20069: Wordpress upgrade process removed executable bits on .php files and so
broke Wordpress
-------------------------------------+-----------------------
 Reporter:  gerv                     |       Owner:  dd32
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  3.7
Component:  Filesystem               |     Version:  3.3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------

Comment (by dd32):

 > `fileperms( ABSPATH ): 0710`
 and
 > `wp-content/plugins/audio-player were reset to 750 on upgrade`

 should be compatible with each other, as long as the file ownerships of
 directories/files were correct. The extra 4 on the directory group
 permissions simply mean "You can modify files here, in addition to the
 ability to list files (1) )..

 I'm however curious if your permissions were bad to begin with, What
 should ABSPATH actually be set to? Are you forcing the Direct transport?
 Were the file ownerships of the files correct?  `755` would only be needed
 if the owner+group are completely different which shouldn't be the case.

 For 3.7, we can update it to a minimum of 755/644 if required.

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


More information about the wp-trac mailing list