Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

meetgodhani's avatar

How to fix the laravel app/storage permission ?

Hi

Is there any solution to fix app/storage permission ?

Whenever I deploy app it sometimes gives me permission error. And everytime I have to ssh in and change the permission. How do we avoid doing that?

Help would be really appreciated.

Thank you.

0 likes
4 replies
bart's avatar

There are different options. One is to deploy the app as web server (apache/nginx...) user and second could be executing a server side command during deployment which adapts permissions.

Please or to participate in this conversation.