#12578: sage-list-packages script needs write permissions to SAGE_ROOT/tmp
-----------------------+----------------------------------------------------
   Reporter:  rohana   |          Owner:  leif           
       Type:  defect   |         Status:  positive_review
   Priority:  major    |      Milestone:  sage-5.0       
  Component:  scripts  |       Keywords:                 
Work_issues:           |       Upstream:  N/A            
   Reviewer:           |         Author:  R. Andrew Ohana
     Merged:           |   Dependencies:                 
-----------------------+----------------------------------------------------
Changes (by jhpalmieri):

 * cc: jdemeyer (added)
  * status:  needs_review => positive_review


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.
>
> ----
>
> Apply attachment:trac12578.patch to the Sage Scripts repo.

New description:

 Duplicate of #12018.

--

Comment:

 Let's keep all discussion for this issue in one place, so please add your
 patch to #12018. People can decide what approach they like there.

 Jeroen: do not merge the patch here; please close this ticket as a
 duplicate.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12578#comment:6>
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.

Reply via email to