[wp-trac] [WordPress Trac] #37978: Warning: posix_getpwuid() has been disabled for security reasons

WordPress Trac noreply at wordpress.org
Wed Sep 7 22:50:33 UTC 2016


#37978: Warning: posix_getpwuid() has been disabled for security reasons
----------------------------+-----------------------------
 Reporter:  AndyDeGroo      |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Filesystem API  |    Version:  4.6.1
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Another one of those "great" "security reasons". I've noticed these
 warnings since upgrading to 4.6 but it might as well be caused by hosting
 provider adding `posix_getpwuid` to the `disable_functions` recently.
 {{{
 PHP Warning:  posix_getpwuid() has been disabled for security reasons in
 [...]/wp-admin/includes/class-wp-filesystem-direct.php on line 210
 }}}

 This seems to be happening during any update - plugins, themes or core.
 Latest block of warning messages starts at 07-Sep-2016 17:39:01 UTC when
 my site was auto-updating to 4.6.1.

 I can confirm that `posix_getpwuid` is added to `disable_functions` but
 I'm puzzled by the `function_exists('posix_getpwuid')` two line prior not
 returning false.

 PHP: 5.6.25 (FastCGI)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37978>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list