dexirian

Registered
Sep 20, 2013
1
0
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

The "smb.conf" file is documented at:

smb.conf

You will likely need to modify the default "create mask" value.

Thank you.