• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Correct permissions for Writable folder?

#1
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.
Reply

#2
(03-08-2019, 11: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
Reply

#3
(03-08-2019, 01:26 PM)elephpantech Wrote:
(03-08-2019, 11: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

#4
Or 775 776
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#5
(03-09-2019, 03:35 PM)InsiteFX Wrote: Or 775 776

Thanks
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.