Webtools Permission issue

[WARNING] EWARNING: Phalcon\Assets\Manager::output(js/webtools-ie.js): failed to open stream: Permission denied in /var/www/phalconblog/cache/PhalconWebToolsViewslayoutswebtools.php on line 18 [WARNING] EWARNING: Phalcon\Assets\Manager::output(css/webtools.css): failed to open stream: Permission denied in /var/www/phalconblog/cache/PhalconWebToolsViewslayoutswebtools.php on line 20 [WARNING] EWARNING: Phalcon\Assets\Manager::output(js/webtools.js): failed to open stream: Permission denied in /var/www/phalconblog/cache/PhalconWebToolsViewslayoutswebtools.php on line 80 [WARNING] EWARNING: Phalcon\Assets\Manager::output(js/webtools-ie.js): failed to open stream: Permission denied in /var/www/phalconblog/cache/PhalconWebToolsViewslayoutswebtools.php on line 18 [WARNING] EWARNING: Phalcon\Assets\Manager::output(css/webtools.css): failed to open stream: Permission denied in /var/www/phalconblog/cache/PhalconWebToolsViewslayoutswebtools.php on line 20 [WARNING] EWARNING: Phalcon\Assets\Manager::output(js/webtools.js): failed to open stream: Permission denied in /var/www/phalconblog/cache/PhalconWebToolsViewslayoutswebtools.php on line 80

This is fixed by chown -R www-data:user js chown -R www-data:user css

However, when generating a controller the owner and group is www-data:www-data and is not writable by user.



29.9k

Hi,

However, when generating a controller the owner and group is www-data:www-data and is not writable by user

yes. You're in development stage, so, using a chmod -R 777 /var/www/phalconblog will do the trick ... Don't do that in production !