Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

upload permissions using phpsuexec

Discussion in 'General Discussion' started by destr0yr, Mar 18, 2005.

  1. destr0yr

    destr0yr Well-Known Member

    May 4, 2004
    Likes Received:
    Trophy Points:
    Kelowna, BC.
    I searched, I couldn't find a definitive solution.

    Uploads using PHPsuExec work great, but the permissions are set to 0640 (or was it 0600...). I know I can add chmod to my scripts, however, I'd like some type of umask to set the file perms to 0644 or something to this effect. Is there a way to do this globally?
    #1 destr0yr, Mar 18, 2005
    Last edited: Mar 18, 2005
  2. fatepower

    fatepower Registered

    Nov 3, 2007
    Likes Received:
    Trophy Points:
    same for me mate. When i upload a image file with a php image upload script. The file permission in the photo folder get setted to chmod 600 but the files should get chmod 644 as when u upload with ftp. This cuase the error that the public users can't view the files cuz teh permissions is setted to chmod 600 :(

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice