R
Railway13mo ago
Pelfox

Permission Denied when trying to write on Volume

Hi, I'm migrating my project onto Railway, and currently facing error that my application can't write a new file onto a volume. Here's the full error: /home/capes-api/capes/<filename>: permission denied
Solution:
Fixed this issue using /app/storage directory instead of my own.
Jump to solution
3 Replies
Percy
Percy13mo ago
Project ID: 716652d4-2a28-4de9-b3e6-1341b7bf85d6
Solution
Pelfox
Pelfox13mo ago
Fixed this issue using /app/storage directory instead of my own.
Brody
Brody13mo ago
for future reference, you can get that error by trying to write into a directory structure that doesn't exist