-1

I get this error

There is no existing directory at "/opt/lampp/htdocs/protech/storage/logs" and its not buildable: Permission denied

after i've deployed my laravel project on shared host even after clearing cache. i've used:

  • php artisan cache:clear
  • php artisan config:cache
  • php artisan route:cache
  • php artisan route:clear
  • php artisan view:clear

and still have the same problem.

Sand Of Vega
  • 2,297
  • 16
  • 29

1 Answers1

0

You can do this by following steps

sudo chmod -R 755 /opt/lampp/htdocs/protech/storage

Which means

4 - Is read
5 - Is read/execute (execute is always needed for directories)
6 - Is read/write
7 - Is read, write, and execute.
Sand Of Vega
  • 2,297
  • 16
  • 29
Mayur Panchal
  • 659
  • 6
  • 25
  • i already changed the permissions of the storage folder but how is that gonna solve the problem when it referring to another path (my local host path) –  Apr 07 '18 at 10:41
  • Hi @mohamed please check this https://stackoverflow.com/questions/30639174/file-permissions-for-laravel-5-and-others?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa – Mayur Panchal Apr 07 '18 at 10:49