Ask Your Question
0

Ubuntu 12.04: Ipython Permission Denied

asked 2012-08-30 19:46:43 +0100

sageNOOB789 gravatar image

I am trying to install Sage on Ubuntu 12.04. I am still learning Linux and am a total newbie when it comes to Sage.

I grabbed the tar off one of the mirror sites and extracted it with no problems. The issue is when I try to execute sage. It says " cp: cannot stat `/home/username/.sage/ipython': Permission Denied ". That is not where I extracted to, and as far as I know, that directory doesn't exist. Is this some hidden directory? Is some file pointing it somewhere no files/directory exists? Do I have to change permissions on something pertaining to Ipython? I'm not quite sure what the problem is exactly. Any help is appreciated.

edit retag flag offensive close merge delete

Comments

First, which tar did you download, binaries or source? Second, what command exactly did you execute? If you unpack the binary tarball to /home/username/sage-5.2 then you'd want to execute: `cd /home/username/sage-5.2; ./sage`

benjaminfjones gravatar imagebenjaminfjones ( 2012-08-30 21:04:03 +0100 )edit
2

It's possible that there is a directory /home/username/.sage with the wrong permissions; for example, if you accidentally created it as root, but are now trying to run as 'username', you won't be able to create the subdirectory 'ipython'. Ideally, /home/username/.sage should be readable and writeable by you, not just by root.

John Palmieri gravatar imageJohn Palmieri ( 2012-08-31 00:04:21 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-09-02 03:08:30 +0100

sageNOOB789 gravatar image

Ok, its working now. It was indeed the fact that I had a .sage directory with the wrong permissions. I had unarchived and run the make install as root, and was not aware of what I had done. Once I changed the permissions the problem was solved. Thanks for the help.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-08-30 19:46:43 +0100

Seen: 1,844 times

Last updated: Sep 02 '12