@mhamzahkhan It should be possible but it's not !!
I have the exact same problem, and now Mastodon is the only unprotected deployment in my k8s cluster. Seems that Mastodon devs don't care much about security.
Conversation
Notices
-
Embed this notice
Thomas Lemarchand (thomas@mastodon.lemarchand.io)'s status on Sunday, 10-Sep-2023 18:09:43 JST Thomas Lemarchand - clacke likes this.
-
Embed this notice
M. Hamzah Khan (mhamzahkhan@intahnet.co.uk)'s status on Sunday, 10-Sep-2023 18:09:45 JST M. Hamzah Khan Is it possible to make #mastodon write its temporary files to somewhere else other than /opt/mastodon? For example, the pull queue has jobs which download images etc to /opt/mastodon before being uploaded to S3 etc.
I tried setting PAPERCLIP_ROOT_PATH but that didn't seem to work.