configuring volume permissions
digitalcraft
PROOP

2 years ago

I'm having trouble getting my php app (not laravel) to have write permission to a volume.
i've consulted the docs here (https://docs.railway.app/guides/volumes#permissions). it says the volumes are mounted with root permission. I've enabled the flag mentioned. But it still mounts as root. What is the best practice here and how can I achieve PHP process write permission.
surely its not a good idea to run PHP as root?

is there a template/guide I can use or follow where this works out of the box?

1 Replies

digitalcraft
PROOP

2 years ago

project/90c9bf78-00dc-4a22-8ad9-e3a0ed2e58a5/service/541d73c0-bc7e-4667-9999-f7cef6951695


Loading...