You are not logged in.
Hi there,
I have one interesting issue. Seems, that when I run sage as a user, it can not access some files in the ~/.sage directory.
Therefore, I wanted to ls -l them. Here it is what I get:
12:33:48 | [ignas@ArchLap /home/ignas]
$ ls -l .sage/ipython/
ls: cannot access .sage/ipython/ipythonrc-tutorial: Permission denied
ls: cannot access .sage/ipython/ipy_profile_sh.py: Permission denied
ls: cannot access .sage/ipython/ipythonrc-pysh: Permission denied
ls: cannot access .sage/ipython/ipythonrc-scipy: Permission denied
ls: cannot access .sage/ipython/ipy_user_conf.py: Permission denied
ls: cannot access .sage/ipython/ipythonrc-physics: Permission denied
ls: cannot access .sage/ipython/ipythonrc-numeric: Permission denied
ls: cannot access .sage/ipython/ipythonrc: Permission denied
ls: cannot access .sage/ipython/ipythonrc-math: Permission denied
ls: cannot access .sage/ipython/ipy_user_conf.pyc: Permission denied
total 0
-????????? ? ? ? ? ? ipy_profile_sh.py
-????????? ? ? ? ? ? ipythonrc
-????????? ? ? ? ? ? ipythonrc-math
-????????? ? ? ? ? ? ipythonrc-numeric
-????????? ? ? ? ? ? ipythonrc-physics
-????????? ? ? ? ? ? ipythonrc-pysh
-????????? ? ? ? ? ? ipythonrc-scipy
-????????? ? ? ? ? ? ipythonrc-tutorial
-????????? ? ? ? ? ? ipy_user_conf.py
-????????? ? ? ? ? ? ipy_user_conf.pyc
12:33:53 | [ignas@ArchLap /home/ignas]
$ sudo ls -l .sage/ipython/
total 60
-rw-r-x--- 1 ignas wheel 2361 Feb 20 12:33 ipy_profile_sh.py
-rw-r-x--- 1 ignas wheel 23663 Feb 20 12:33 ipythonrc
-rw-r-x--- 1 ignas wheel 1345 Feb 20 12:33 ipythonrc-math
-rw-r-x--- 1 ignas wheel 2138 Feb 20 12:33 ipythonrc-numeric
-rw-r-x--- 1 ignas wheel 1596 Feb 20 12:33 ipythonrc-physics
-rw-r-x--- 1 ignas wheel 3602 Feb 20 12:33 ipythonrc-pysh
-rw-r-x--- 1 ignas wheel 1567 Feb 20 12:33 ipythonrc-scipy
-rw-r-x--- 1 ignas wheel 1260 Feb 20 12:33 ipythonrc-tutorial
-rw-r-x--- 1 ignas wheel 836 Feb 20 12:33 ipy_user_conf.py
-rw-r-x--- 1 ignas wheel 882 Feb 20 12:33 ipy_user_conf.pycCan anybody explain why I can ls -l only with sudo? I mean, that I certainly own the files, but I can not access. What is happening here?
I believe, that this causes sage not to run when launched as a normal user. However, I am able to run it using sudo or root account.
Sorry guys... was thinking only about ownership and not the read/write rights... ![]()
I had to
sudo chmod 764 -R ~/.sageAnd everything seems to be fine.
Last edited by Liuuutas (2010-02-21 13:59:20)
Offline