Hi

I installed 2.8.4.1-i686-ubuntu instead of 2.8-i686 on
 ubuntu feisty today. I install systemwide, as root:

cd /usr/local/src/
wget
http://www.sagemath.org/SAGEbin/linux/32bit/sage-2.8.4.1-i686-ubuntu-Linux.tar.gz
tar xvzf sage-2.8.4.1-i686-ubuntu-Linux.tar.gz
cp sage-2.8.4.1-i686-Linux/sage /usr/local/bin/
sed -ie 's#="....."#="/usr/local/src/sage-2.8.4.1-i686-Linux/"#'
/usr/local/bin/sage
rm /usr/local/bin/sagee
chmod a+r -R /usr/local/src/sage-2.8.4.1-i686-Linux/

Before this used to be fine.
Now I have to run once as root to create SAGE_ROOT/tmp,
and thereafter a normal user still cannot run notebook()

0 [EMAIL PROTECTED]:~$sage
----------------------------------------------------------------------
| SAGE Version 2.8.4.1, Release Date: 2007-09-09                     |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

sage: notebook() 
---------------------------------------------------------------------------
<type 'exceptions.IOError'>               Traceback (most recent call last)

/usr/local/src/sage-2.8.4.1-i686-Linux/<ipython console> in <module>()

/usr/local/src/sage-2.8.4.1-i686-Linux/local/lib/python2.5/site-packages/sage/server/notebook/notebook_object.py
 in __call__(self, *args, **kwds)
    120     """
    121     def __call__(self, *args, **kwds):
--> 122         return self.notebook(*args, **kwds)
    123 
    124     notebook = run_notebook.notebook_twisted

/usr/local/src/sage-2.8.4.1-i686-Linux/local/lib/python2.5/site-packages/sage/server/notebook/run_notebook.py
 in notebook_twisted(self, directory, port, address, port_tries, secure, reset, 
accounts, server_pool, ulimit, timeout, open_viewer)
    105         print "Updating to new format complete."
    106         
--> 107     nb.save()
    108     del nb
    109 

/usr/local/src/sage-2.8.4.1-i686-Linux/local/lib/python2.5/site-packages/sage/server/notebook/notebook.py
 in save(self, filename)
   1346         if not os.path.exists(D):
   1347             os.makedirs(D)
-> 1348         SageObject.save(self, F, compress=False)
   1349         #print "Saved notebook to '%s'."%F
   1350         #print "Press control-C to stop the notebook server."

/usr/local/src/sage-2.8.4.1-i686-Linux/sage_object.pyx in 
sage_object.SageObject.save()

<type 'exceptions.IOError'>: [Errno 13] Permission denied: 
'/usr/local/src/sage-2.8.4.1-i686-Linux/sage_notebook/nb.sobj'
sage: 

regards,
Jan
-- 
   .~.
   /V\     Jan Groenewald
  /( )\    www.aims.ac.za
  ^^-^^

--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to