[wp-trac] [WordPress Trac] #36936: Plugin update does not works via web with proper filesystem permissions.

WordPress Trac noreply at wordpress.org
Tue May 24 23:52:48 UTC 2016


#36936: Plugin update does not works via web with proper filesystem permissions.
----------------------------+------------------------------
 Reporter:  brudas          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:  4.5.2
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by andtrev):

 Hi @brudas,

 I believe WordPress checks for ownership to see if it's allowed to write
 or not, in your case the owner is root, but your user is www-data, so it
 would fail that test.

 A workaround for this type of setup is to add `define('FS_METHOD',
 'direct');` to your wp-config.php which will bypass the check and set it
 to write directly to files. - http://codex.wordpress.org/Editing_wp-
 config.php#WordPress_Upgrade_Constants

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


More information about the wp-trac mailing list