The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

suphp and umask

Discussion in 'General Discussion' started by verdon, Sep 16, 2008.

  1. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    Hi,

    It seems as if files uploaded via php scripts have perms of 640 by default. I'd like these to be 644. I understand this is controlled by the umask value set in /opt/suphp/etc/suphp.conf I have checked there and umask is set to 0022.

    I did a little googling and thought I was reading that this should give me the desired results. Am I off track?

    I appreciate any tips..
     
  2. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    OK, no opinion.

    Is there a suggestion as to a more appropriate forum to ask this question?

    Thanks,
    verdon
     
  3. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,384
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  4. verdon

    verdon Well-Known Member

    Joined:
    Nov 1, 2003
    Messages:
    836
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Northern Ontario, Canada
    cPanel Access Level:
    Root Administrator
    I don't think so, but I might have to tear down into a pear lib class to be sure. I'll check that a little further.
     
Loading...

Share This Page