> I do have root access on the machine. if only there is a way to configure
> uwsgi to store tempfiles in a different directory than /tmp in
> post-buffering, it would work.


Sadly there is no way to override the paths in "tmpfile()", but as you
have root access you can bind mount /tmp in another "place":

# create a new fs namespace
unshare = ns
# mount /foobar as /tmp
exec-as-root = mount --bind /foobar /tmp


The 'unshare' part is important, if you do not use it you will bind mount
/tmp for the whole server.

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to