Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

chmod() operation not permitted - FatFree framework

I have been developing an app in FatFree framework and now I am trying to deploy it on a server. Everything seems to be fine when I am running it on localhost.

However, when I have deployed it on the server and trying to access it, it gives me a strange error which is -

Internal Server Error

chmod(): Operation not permitted

#0 /var/www/webapp/inc/main.php:62 Template::serve('front_page.php')
#1 /var/www/index.php:65 F3::run()

I have given 777 permissions to the webapp folder so chmod() should be allowed. The above suggests that there is an error while serving the template file front_page.php.

How can I fix this?

like image 758
Siddharth Avatar asked Mar 19 '12 11:03

Siddharth


Video Answer


1 Answers

For this you have to give the permissions recursively using -R for your "webapp" folder

like image 140
Learner Avatar answered Sep 24 '22 23:09

Learner