Welcome Guest, Not a member yet? Register   Sign In
Correct permissions for Writable folder?
#3

(03-08-2019, 12:26 PM)elephpantech Wrote:
(03-08-2019, 10:35 AM)happyape Wrote: Could somebody show me what permissions do I need to setup for Writable and it's sub folders?

I am getting this error

CodeIgniter\Cache\Exceptions\CacheException

Cache unable to write to /var/www/myproject/writable/cache/

I am on Ubuntu 18.04 using CI4 beta 1.

writable folder and child folders must be owned by web server process, in my Linux Centos is apache (production)
    chown -R apache /var/www/myproject/writable

Or allowing total control to everyone (development)
    chmod 777 -R /var/www/myproject/writable

As you are on Ubuntu, if you have root access you can set
 chown -R www-data:www-data var/www/myproject/writable
Reply


Messages In This Thread
RE: Correct permissions for Writable folder? - by arwystli - 03-08-2019, 02:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB