On Sep 1, 2009, at 6:24 PM, Minh Nguyen wrote:
> > Hi Jan, > > On Tue, Sep 1, 2009 at 11:37 PM, Jan Groenewald<j...@aims.ac.za> wrote: > > <SNIP> > >> Is "sage -t" used for testing one's own code? > > Yes. > > >> Should /usr/local/src/sage-4.1.1/tmp/tmp be world-writeable? > > No since from a security point of view you don't want regular users to > write anything there. Think of that tmp directory as being for the > root user or anyone in the sudoer group to write temporary stuff. By > default, testing your custom Sage script with > > sage -t /path/to/my/script.sage > > using a system-wide Sage installation would result in a permission > error. If you want to test your own Sage script, you can install Sage > under your own home directory or test the script as root or using > sudo. Note that this should be considered a workaround. It should be considered a bug that users without write permissions to the Sage install directory can't test their scripts. It would be much better for Sage to use temp space in DOT_SAGE, i.e., $HOME/.sage/temp by default. William > >> Is there then any control on the space used? > > I don't understand this question. > > -- > Regards > Minh Van Nguyen > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---