#12578: sage-list-packages script needs write permissions to SAGE_ROOT/tmp
-----------------------+----------------------------------------------------
   Reporter:  rohana   |          Owner:  leif    
       Type:  defect   |         Status:  new     
   Priority:  major    |      Milestone:  sage-5.0
  Component:  scripts  |       Keywords:          
Work_issues:           |       Upstream:  N/A     
   Reviewer:           |         Author:          
     Merged:           |   Dependencies:          
-----------------------+----------------------------------------------------
 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.

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