How can I change permissions to a volume?
I have to keep 777 for a folder which is the persistent volume. Since volumes are not mounted in build time how can I change the mounted folder permission.
9 Replies
Project ID:
2a4ccb82-5166-478f-8ad3-5abadca54feb
2a4ccb82-5166-478f-8ad3-5abadca54feb
volumes are mounted as root, instead run the app as root, im most cases its as easy as setting a
RAILWAY_RUN_UID
service variable to 0
That is what I ended up doing. like I had to configure php-fpm user and group as root
perfect
is running the app as root a preferred way of doing things? any security implications?
i mean no its generally not preferred, but the volumes are mounted as root, so theres not a whole lot we can do about that
Is it something that is going to change in near future?
im not sure tbh