[wp-trac] [WordPress Trac] #51340: Stop chmodding files and folders

WordPress Trac noreply at wordpress.org
Thu Feb 11 14:18:58 UTC 2021


#51340: Stop chmodding files and folders
----------------------------+------------------------------
 Reporter:  malthert        |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:  5.6.1
 Severity:  major           |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------
Changes (by l3rady):

 * version:   => 5.6.1


Comment:

 I too use streawrappers and Chmod is not implemented. A fix would be
 simply adding error suppression in the form of
 {{{
 @chmod(...
 }}}
 This is done in many areas of the WP codebase but has been missed here.
 I'm not sure at what version this was introduced but I can see the error
 back in WordPress 5.3 but don't see it in WP 4.9 so was introduced at some
 point between them.

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


More information about the wp-trac mailing list