Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cakephp 1.3 \persistent\ is not writable....\models\ is not writable

Im currently trying to spin up a application, but when I run WAMP and try to access my site I get the following errors.....\models\ is not writable .....\persistent\ is not writable.....\app\tmp\cache\ is not writable. Now with that being said I have did my homework and looked around and it seems there is a permissions problem within my application and I need to set permissions with the following....chmod -R 777 app/tmp , but Im not sure how I got about setting those permissions. In addition, my website is basically a white screen with a little text. Can someone set me straight. Your input will be greatly appreciated.

like image 358
SkillSet Avatar asked Jul 06 '26 08:07

SkillSet


1 Answers

For anyone else with the problem:

I had this problem even after doing a chmod -R 777 app/tmp

What fixed my problem: chcon -R -t httpd_sys_content_rw_t 'tmp'

Hope this helps!

like image 110
Kyle Challis Avatar answered Jul 07 '26 23:07

Kyle Challis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!