Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change default chmod
#1
Hi All!

I'm using joomla for my ehcp installed webhost.
Each time when I install a new domain with joomla I have to manually chmod 775 for thousands of files and folders.

How can I set ehcp to chmod all sites automatically 775?

Restored from old drupal forum, for user uid:4451 username:Muszti
You may reset your password to access your new account here.
Reply
#2
be careful about your mod of files.
to change default behaviour of ehcp,
edit classapp.php,
find function syncdomains,

you will see like:

passthru2("chown $this->ftpowner -Rf ".$dom['homedir']);
passthru2("mkdir -p ".$dom['homedir']."/phptmpdir");
passthru2("chmod a+w ".$dom['homedir']."/phptmpdir");

add your wanted code here. be careful.

Restored from old drupal forum, for user uid:4451 username:Muszti
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping