Checking for file permissions 777 does not work on shared host.
2024-04-25 18:56:35
Si Smith
  • Visit: 4
  • Join Date: 2024-04-25
  • Last Login: 2024-04-29
  • My Point: 0
  • PartyLevel: No Party

I installed ZenTao via Softalicious/Cpanel and it worked briefly until the security functions of Cpanel and shared hosts inhibits 777 permissions on files owing to security issues.


755 should be enough and will work on shared hosts.


I have worked around this by editing "module/user/control.php"
To change the code that checked permissions from:

elseif(!is_dir($this->app->dataRoot) or substr(base_convert(@fileperms($this->app->dataRoot), 10, 8), -4) != '0777') 

To

elseif(!is_dir($this->app->dataRoot) or substr(base_convert(@fileperms($this->app->dataRoot), 10, 8), -4) != '0755') 

And it is now working OK