Error publishing module

Version 7.11.13
Sugar Version 6.5.25 (Build 344)

Hello, when publishing a module in my CRM the following error appears.

Apparently it is a problem of permissions but I can’t find the conflite, someone will know how I can solve this problem.

Can you check when you click on publish, what is the error in your apache errorlog and suitecrm.log?

If your using apache try running these;

  sudo chown -R www-data:www-data .
  sudo chmod -R 755 .
  sudo chmod -R 775 cache custom modules themes data upload
  sudo chmod 775 config_override.php 2>/dev/null