[wp-trac] [WordPress Trac] #33332: Default ACL entries are not set correctly when file is uploaded to WP

WordPress Trac noreply at wordpress.org
Thu Feb 7 07:30:14 UTC 2019


#33332: Default ACL entries are not set correctly when file is uploaded to WP
----------------------------+------------------------------
 Reporter:  slavafomin      |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:  4.1.1
 Severity:  major           |  Resolution:
 Keywords:                  |     Focuses:  administration
----------------------------+------------------------------

Comment (by MarioLipinski):

 For me this looks like this issue is more related to file uploads being
 moved than to any `chmod` handling. When the file is moved, they keep the
 ACL they had before moving. As a workaround you could enforce the desired
 ACL on PHPs `upload_tmp_dir`.

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


More information about the wp-trac mailing list