[wp-trac] [WordPress Trac] #33332: Default ACL entries are not set correctly when file is uploaded to WP
WordPress Trac
noreply at wordpress.org
Mon Aug 24 13:41:03 UTC 2015
#33332: Default ACL entries are not set correctly when file is uploaded to WP
----------------------------+------------------------------
Reporter: slavafomin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem API | Version: 4.1.1
Severity: normal | Resolution:
Keywords: | Focuses: administration
----------------------------+------------------------------
Comment (by dd32):
Hey @slavafomin - Sorry it's taken a while to get a reply.
Can you let us know what the permission bits look like when the file is
created? Can we tell that the files permissions don't need changing at
all?
ie. Is the file being reported as rw-rw-r--?
One of the problems with ACLs at present is that PHP applications don't
have any way of seeing them, we can't verify or set them.. yet we can use
the all-too-basic Owner/Group/World chmod values.
It seems that the best solution here is that we verify if the permissions
need to be changed, before we change them, so as to avoid having the ACLs
reset - to be clear, we're not going to be able to prevent the ACLs being
reset in all cases, but we can work to avoid them being reset needlessly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33332#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list