On Sun, Feb 13, 2022 at 6:57 AM Michael Orlitzky <
mic...@orlitzky.com> wrote:
>
> tl;dr I think we should forego SAGE_TMP and use whatever the system's
> temporary location is.
+1.
I'm pretty sure I "created" this SAGE_TMP thing in the first place,
and that my reasons were:
a. ignorance about the built in Python solution (which in 2004 might
have been immature),
b. concerns about security, which are no longer of primary importance
for Sage. For example,
on a multiuser Linux system, admins need to make sure that files
written to /tmp are by default only
readable by one user; also, it's annoying if users accidentally write
a lot of data to /tmp, causing
trouble for everybody else.
Regarding these, of course (a) is not a good argument, and (b) should
no longer be either.
In addition, for users of CoCalc, the home directory is a network
mounted ZFS filesystem, with snapshots
and compression, whereas /tmp is a ramdisk dedicated to just that one
project that is orders of magnitude
faster than $HOME. Thus for CoCalc, it would be *massively* better
for Sage to use /tmp rather
than the current SAGE_TMP defaulting to a directory under $HOME.
-- William
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-devel+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-devel/84da47e539b342c270760e7e6200272a820fa5d1.camel%40orlitzky.com.
--
William (
http://wstein.org)