Docker Community Forums

Share and learn in the Docker community.

File permissions with cakephp 2

This error happens when i access the localhost with cakephp 2, how can i guarantee permissions correctly?

Warning: *cake_core* cache was unable to write 'cake_dev_pt-br' to File cache in /var/www/html/lib/Cake/Cache/Cache.php on line 327

Warning: /var/www/html/app/tmp/cache/persistent/ is not writable in /var/www/html/lib/Cake/Cache/Engine/FileEngine.php on line 393

Fatal error: Uncaught CacheException: Cache engine " *cake_core* " is not properly configured. Ensure required extensions are installed, and credentials/permissions are correct in /var/www/html/lib/Cake/Cache/Cache.php:186 Stack trace: #0 /var/www/html/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine(' *cake_core* ') #1 /var/www/html/app/Config/core.php(384): Cache::config(' *cake_core* ', Array) #2 /var/www/html/lib/Cake/Core/Configure.php(72): include('/var/www/html/a...') #3 /var/www/html/lib/Cake/bootstrap.php(432): Configure::bootstrap(true) #4 /var/www/html/app/webroot/index.php(105): include('/var/www/html/l...') #5 /var/www/html/index.php(41): require('/var/www/html/a...') #6 {main} thrown in /var/www/html/lib/Cake/Cache/Cache.php on line 186

Obs: i’m using Windows 10