Ask Your Question
0

Ubuntu 12.04: Ipython Permission Denied

asked 12 years ago

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.

Preview: (hide)

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 ( 12 years ago )
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 ( 12 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 12 years ago

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.

Preview: (hide)
link

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: 12 years ago

Seen: 1,870 times

Last updated: Sep 02 '12