Warning_chmod_Operation_not_permitted

Published: Updated:

Notes for myself.
On the local enviroment, I had issues when using thirtybees project with smarty and get all the time the warning: Warning on line 84 in file /vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php [2] chmod(): Operation not permitted

The issue was that my user didn’t had permission to run chmod(). The solution:
Add user on the /etc/apache2/apache2.conf
User [addUserHere]

After save the conf file, just reload the apache2.