#12578: sage-list-packages script needs write permissions to SAGE_ROOT/tmp
-----------------------+----------------------------------------------------
Reporter: rohana | Owner: leif
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: scripts | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: R. Andrew Ohana
Merged: | Dependencies:
-----------------------+----------------------------------------------------
Description changed by rohana:
Old description:
> This is a problem for system installs. e.g. on sage.math
>
> {{{
> $ sage -sh
> $ sage-list-packages optional
> Using SAGE Server http://www.sagemath.org//packages
> Traceback (most recent call last):
> File "/usr/local/share/sage-4.8/local/bin/sage-list-packages", line 21,
> in <module>
> os.makedirs(SAGE_ROOT_TMP)
> File "/usr/local/share/sage-4.8/local/lib/python/os.py", line 157, in
> makedirs
> mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/usr/local/share/sage-4.8/tmp'
> SAGE_ROOT=/usr/local/share/sage-4.8
> }}}
>
> This causes the `optional_packages` function among others to fail.
New description:
This is a problem for system installs. e.g. on sage.math
{{{
$ sage -sh
$ sage-list-packages optional
Using SAGE Server http://www.sagemath.org//packages
Traceback (most recent call last):
File "/usr/local/share/sage-4.8/local/bin/sage-list-packages", line 21,
in <module>
os.makedirs(SAGE_ROOT_TMP)
File "/usr/local/share/sage-4.8/local/lib/python/os.py", line 157, in
makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/share/sage-4.8/tmp'
SAGE_ROOT=/usr/local/share/sage-4.8
}}}
This causes the `optional_packages` function among others to fail.
----
Apply attachment:trac12578.patch to the Sage Scripts repo.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12578#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.