WordPress.org

Ready to get started?Download WordPress

Forums

WordPress should set umask (2 posts)

  1. Jtb
    Member
    Posted 7 years ago #

    WordPress generates the thumbnails for uploaded images in wp-admin/admin-functions.php with imagegif, imagejpeg and imagepng without setting a umask.
    If you have a setup where php runs with a low privilege account different from the apache user, the generated files must be world readable..

    WordPress should have a option to set which umask is being used.

  2. Chris_K
    Member
    Posted 7 years ago #

    I'm not bright enough to know if I agree or not, but I do know this: Posting ideas here won't likely be seen by actual developers.

    You might consider visiting http://trac.wordpress.org and sharing your thoughts there in a new ticket.

Topic Closed

This topic has been closed to new replies.

About this Topic