[wp-trac] [WordPress Trac] #27568: WordPress automatic updates are breaking unix rights

WordPress Trac noreply at wordpress.org
Fri Mar 28 11:51:59 UTC 2014


#27568: WordPress automatic updates are breaking unix rights
-------------------------------+------------------------------
 Reporter:  zigooo             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Upgrade/Install    |     Version:  3.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by dd32):

 Taking a step back, WordPress aims to work with every web host out there,
 and unfortunately for you and I, there are some down right badly
 configured ones which are not the WordPress users fault. We do our best to
 cover the base for everyone.
 The constants should not be required in your case, I simply provided them
 because a lot of people come needing a fix this-instant rather than
 debugging.

 Looking at it, if you could run this code after WordPress has loaded, it'd
 provide a good insight into the issue:
 {{{
 printf(
         "Dir: %o File: %o<br>\nDir: %o File: %o\n<br>",
         fileperms( ABSPATH ),
         fileperms( ABSPATH . 'index.php' ),
         fileperms( ABSPATH ) & 0777 | 0755,
         fileperms( ABSPATH . 'index.php' ) & 0777 | 0644
 );
 }}}

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


More information about the wp-trac mailing list