#5155: Fix doctests and methods that want write access to $SAGE_LOCAL
---------------------------+------------------------------------------------
   Reporter:  mabshoff     |       Owner:  mabshoff  
       Type:  defect       |      Status:  needs_work
   Priority:  critical     |   Milestone:  sage-4.6  
  Component:  doctest      |    Keywords:            
     Author:  Mike Hansen  |    Upstream:  N/A       
   Reviewer:               |      Merged:            
Work_issues:               |  
---------------------------+------------------------------------------------
Changes (by lftabera):

 * cc: lftabera (added)


Comment:

 Another issue, if you compile sage but the very first access of sage is
 made by a user without write permissions, you get the following error:

 ----------------------------------------------------------------------
 | Sage Version 4.5.3, Release Date: 2010-09-04                       |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/opt/SAGE/sage-4.5.3/local/bin/sage-location", line 174, in
 <module>
     t, R = install_moved()
   File "/opt/SAGE/sage-4.5.3/local/bin/sage-location", line 18, in
 install_moved
     write_flags_file()
   File "/opt/SAGE/sage-4.5.3/local/bin/sage-location", line 82, in
 write_flags_file
     open(flags_file,'w').write(get_flags_info())
 IOError: [Errno 13] Permission denied: '/opt/SAGE/sage-4.5.3/local/lib
 /sage-flags.txt'

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