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

WordPress Trac noreply at wordpress.org
Tue Nov 10 04:01:47 UTC 2020


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

Comment (by p00ya):

 I'll add another use case for when chmod is bad: some plugins support
 uploading to cloud storage (instead of filesystem wp-content/uploads) via
 stream wrappers.  Stream wrappers don't necessarily support chmod, see:
 https://www.php.net/manual/en/streamwrapper.stream-metadata.php

 While these errors aren't fatal, they do confuse users of these plugins,
 since they're the most visible things in the logs.

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


More information about the wp-trac mailing list