Task #3810
open
Crashreport - Permission to write to a folder in filesystem
0%
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.
Updated by Guilhem Moulin 3 months ago
- 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.
Updated by Juan José González about 1 month ago
- 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?
Updated by Guilhem Moulin about 1 month ago
It is. What is the error message (and errno from the OS)?