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
Percy13mo ago
Project ID: f25ea110-4e6f-4592-8579-5f8c3e77e95c
na_4114_zik
na_4114_zikOP13mo ago
Project id: f25ea110-4e6f-4592-8579-5f8c3e77e95c
Brody
Brody13mo ago
what kind of app did you deploy?
jr
jr13mo ago
It looks like you were able to get this sorted in the latest deployment?
na_4114_zik
na_4114_zikOP13mo ago
Laravel no
Solution
Brody
Brody13mo ago
mount the volume to /app/storage and write files to that directory
na_4114_zik
na_4114_zikOP13mo ago
No description
Brody
Brody13mo ago
dont think thats the mount point i spoke of /app/storage
na_4114_zik
na_4114_zikOP13mo ago
I did the same thing on another project, but it worked...
Brody
Brody13mo ago
please do these two things
na_4114_zik
na_4114_zikOP13mo ago
I'll try
na_4114_zik
na_4114_zikOP13mo ago
No description
Brody
Brody13mo ago
show me your volume's mount point
na_4114_zik
na_4114_zikOP13mo ago
No description
na_4114_zik
na_4114_zikOP13mo ago
This?
Brody
Brody13mo 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_zikOP13mo ago
How I can create this folder?
na_4114_zik
na_4114_zikOP13mo ago
I know how to create folders, but where to write these commands to create them
Brody
Brody13mo ago
in your code
na_4114_zik
na_4114_zikOP13mo ago
how to do it correctly in the context of Railway it works thank you
Want results from more Discord servers?
Add your server