Re: Problems with Sage multi user install

39 views
Skip to first unread message

Nils Bruin

unread,
Jan 2, 2013, 4:25:53 PM1/2/13
to sage-s...@googlegroups.com
On Tuesday, January 1, 2013 2:31:40 PM UTC-8, mickpmack wrote:
When I run sage as root it works but when I run sage as my user I get the following message:

... 

IOError: [Errno 13] Permission denied: '/home/michael/.sage/cache/_usr_local_sage_sage-5.5_devel_sage-main-lazy_import_cache.pickle'
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

Probably when you ran as "root", you didn't do so fully. Your $HOME was probably still pointing at '/home/michael'. Hence, the file referred to (and perhaps even some of the directories in which it resides) are probably owned by root now and not writable by user 'michael'. Sage quite rightly expects $HOME to be writeable by the executing UID. You should delete (as root) those files/directories or at least fix their ownership.
Reply all
Reply to author
Forward
0 new messages