[wp-trac] [WordPress Trac] #51340: Stop chmodding files and folders
WordPress Trac
noreply at wordpress.org
Fri Feb 2 12:07:42 UTC 2024
#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 kkmuffme):
Lots of places started using FS_CHMOD_FILE in the meantime, which is a
good first start - just need to check there that we won't chmod if file
already has correct permissions and also check function_exists.
wp_mkdir_p has the best implementation so far, as it will only chmod if it
doesn't match the umask.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51340#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list