How to change permissions to write for Railway Volume

I deployed and hooked up the Railway Volume to my project, but the problem is that I don't have the rights to create folders in the volume. How to properly grant rights for Volume
Solution:
mount the volume to /app/storage and write files to that directory
Jump to solution
21 Replies
Percy
Percy12mo ago
Project ID: f25ea110-4e6f-4592-8579-5f8c3e77e95c
na_4114_zik
na_4114_zik12mo ago
Project id: f25ea110-4e6f-4592-8579-5f8c3e77e95c
Brody
Brody12mo ago
what kind of app did you deploy?
jr
jr12mo ago
It looks like you were able to get this sorted in the latest deployment?
na_4114_zik
na_4114_zik12mo ago
Laravel no
Solution
Brody
Brody12mo ago
mount the volume to /app/storage and write files to that directory
na_4114_zik
na_4114_zik12mo ago
No description
Brody
Brody12mo ago
dont think thats the mount point i spoke of /app/storage
na_4114_zik
na_4114_zik12mo ago
I did the same thing on another project, but it worked...
Brody
Brody12mo ago
please do these two things
na_4114_zik
na_4114_zik12mo ago
I'll try
na_4114_zik
na_4114_zik12mo ago
No description
Brody
Brody12mo ago
show me your volume's mount point
na_4114_zik
na_4114_zik12mo ago
No description
na_4114_zik
na_4114_zik12mo ago
This?
Brody
Brody12mo ago
okay so /app/storage exists, but the framework/sessions folder doesn’t, you can't read/write files on a directory that doesnt exist
na_4114_zik
na_4114_zik12mo ago
How I can create this folder?
na_4114_zik
na_4114_zik12mo ago
I know how to create folders, but where to write these commands to create them
Brody
Brody12mo ago
in your code
na_4114_zik
na_4114_zik12mo ago
how to do it correctly in the context of Railway it works thank you
Want results from more Discord servers?
Add your server