[wp-trac] [WordPress Trac] #56510: Verify permissions before update failed

WordPress Trac noreply at wordpress.org
Mon Sep 5 06:36:10 UTC 2022


#56510: Verify permissions before update failed
-----------------------------+-----------------------------
 Reporter:  Cartman34        |      Owner:  (none)
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:  administration   |
-----------------------------+-----------------------------
 Hello,
 I am using ACL to define permission on my wordpress folder, this is
 globally working fine, except when updating wordpress via web UI, the
 updates failed and I have to do it manually.
 The error is
 {{{
 Warning: chmod(): Operation not permitted in /home/myuser/www/website/wp-
 admin/includes/class-wp-filesystem-direct.php on line 173
 }}}
 Then the installation is in invalid state.

 So there is two improvements to prevent this case:
 - Verify all conditions & permissions before upgrading wordpress to find
 issues before starting to modify installation.
 - Handle ACL permissions.

 Thank you for your consideration.

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


More information about the wp-trac mailing list