I am facing permission denied for storage directory everytime when I push to production even its added in gitignore file like:/storage/* Also I get "can not create public/storage" error and in this case I delete public/storage and again run php artisan storage:link command.
I tried git -r --cached public/storage command to resolve this issue but not resolved.
can anyone suggest a permanent solution for it? I am getting frustrated doing the same thing again and again. And I know I am doing the small mistake that I could not figure out. Thanks in advance.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire