Automatic CHMOD

Titam

Verified User
Joined
Apr 29, 2005
Messages
168
Hi,

Because i installed suPhp, I need to chmod my directory in 755 (and not 750).

I would like to know how to, automatically, chmod public_html of new users in 755 :)

Thanks ;)

Titam
 
I tried this

Code:
PUBHTML=/home/${username}/public_html
chmod 755 $PUBHTML

in domain_create_post.sh but i have this when I try :

Error with custom script: /usr/local/directadmin/scripts/custom/domain_create_post.sh


snifffff
 
John gave a me an answer :

http://www.directadmin.com/features.php?id=497

add:

apache_public_html=0

to your /usr/local/directadmin/conf/directadmin.conf, then restart directadmin.
 
Last edited:
Back
Top