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

WordPress Trac noreply at wordpress.org
Tue Mar 28 08:53:09 UTC 2023


#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.3
 Severity:  major           |  Resolution:
 Keywords:  dev-feedback    |     Focuses:
----------------------------+------------------------------

Comment (by l3rady):

 @costdev this example code works for me where only the UPLOADS dir is the
 place where it is mapped to a filesystem that doesn't support chmod.

 I can use the filter and check the path and if the path is in UPLOADS I
 can return true and stop chmod from running on a filesystem that doesn't
 support it while keeping chmod working for all other areas.

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


More information about the wp-trac mailing list