R
Railway

✋|help

Is it possible to set permissions on volumes?

Aaaron9/7/2023
Dockerfile is using user id of 1000,and the WORKDIR which they own is /app. A Volume is mounted at /media The application gets permission denied when trying to write to /media. Is there any way to set do 1000:1000 -R on the volume to match the Dockerfile user? Or can you suggest an alternative workaround?
PPercy9/7/2023
Project ID: N/A
Aaaron9/7/2023
N/A
BBrody9/7/2023
volumes are mounted as root, so switch to the root user in your dockerfile USER 0
Aaaron9/7/2023
Is there anything in the roadmap to allow permissions to be set on volumes?
BBrody9/7/2023
not that I know of

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Trying to pg_dump and getting this weird error:Hi guys I am following this tutorial: https://blog.railway.app/p/postgre-backup and i am getting thHow to check which region is the database in and how to request to change it (if needed)?We started on the hobby plan and now we are Pro plan. For GDPR compliance we need to check which regDjango projects loading issuesI have two Django projects that I have deployed and both projects are facing similar issues (most liClicking 'Observability' button goes to the wrong projectExpected Flow - You click on a project, go to 'Observability' and view the logs. - You then click onTell Nixpack to include public folder in buildI have an Axum build on Rust that is are web socket chat rooms, which also serves static files. When.NET 6.0 Deployment Failed during build processProject ID f8a04cde-c088-4000-923e-0de1e0d144aa I can not deploy my backend, this is the error NETSMonorepoIf I am inside monorepo how will assigning domain work I wanna asign domain in two aspectsI can not deploy angular project, killedI do not know what is the problem I hope someone can help me, Project ID dd70810d-29a4-4c5e-b7b4-f2NPM ssh dependancyHi I'm running into an issue where I'm using a private github npm dependancy and the build step is How to set mailgun to Ghost(docker) + SqliteI had used Ghost with mysql, but currently I try to use a new Ghost template with Sqlite. I did not Timeout while waiting for registry?All of my deploys have been building successfully but failing to deploy for the past ~hour or so. TContainer is failing to start.Everything was working fine, I just added a few new features to the app and now it is failing to depSeeing failures in deploying saying container shut down, but cannot find the container logs.Need help figuring out how to debug this issue with deploying to prod. From my end I don't think theHow to Delete Project?How do I delete a project I created so it doesn't show up in my homepage? Railway's documentation ju