Task #3810
open
Crashreport - Permission to write to a folder in filesystem
Added by Juan José González 3 months ago.
Updated 18 days ago.
Description
Hi,
I would like to write files to the filesystem, to /srv/crashreport/uploads/
.
And inside let the app to create a folder structure like /srv/crashreport/uploads/<YEAR>/<MONTH>/<text_files>
Thank you in advance
PS. I was able to write to /srv/crashreport/temp
, try to replicate the permissions but I was not able to make it work.
- Status changed from New to Closed
Done (the directory needs to be marked RW in the .service file too).
Saw that the new django complained about ALLOWED_HOSTS
not being a list, so I hard-coded the hostname in settings.py. Looks like uwsgi isn't happy with the new setup, but since you're working on it I didn't look further. Feel free to bounce it back to me if I should investigate.
- Status changed from Closed to Feedback
Hi Guilhem
a follow up on this, I am seeing the write error again. Could you help me to confirm if the folder is in write mode?
It is. What is the error message (and errno from the OS)?
Also available in: Atom
PDF