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.

Problem with file permissions

Discussion in 'General Discussion' started by dexirian, Sep 20, 2013.

  1. dexirian

    dexirian Registered

    Joined:
    Sep 20, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello everyone, alright so here is the problem

    Our current dev server wasn't running with WHM and cPanel so we couldn't test a few php fonctionalities and whatnot.

    So i just build a brand new CentOS with WHM up and running.
    Currently using samba to share the public_html folder since its all in LAN environment

    Now everytime we edit or add a file it's given 764 permissions, wich prevents the php scripts from executing because they return an
    "/home/perseide/public_html/testcool.php" is writeable by group, referer: http://192.168.----------

    So i have to manually chmod 644 testcool.php for the script to work
    I tried messing with umask but it screwed things up more than anything else, any ideas?
     
  2. Aaron.Edwards

    Aaron.Edwards Active Member

    Joined:
    Sep 21, 2013
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page