Results 1 to 5 of 5
Hi,
System:
ASUS Pro50n series Laptop
Distro: Arch Linux
DE: Gnome
I've just installed Exaile media player via pacman and I try and run it, nothing happens. I run it ...
- 01-21-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 38
[SOLVED] Exaile Only Runs in Root
Hi,
System:
ASUS Pro50n series Laptop
Distro: Arch Linux
DE: Gnome
I've just installed Exaile media player via pacman and I try and run it, nothing happens. I run it from the terminal and get the error:
I looked in the log file stated above and it says nothing.IOError: [Errno 13] Permission denied: '/home/scott/.config/exaile/exaile.log'
I can however, run exaile under root with "sudo exaile" and it runs fine then. Does anyone know why this is happening?
I had a similar problem with Emesene messenger, but couldn't find anything on any forums so I just used Empathy IM Client instead.
*EDIT* It appears that its possibly something to do with the read/write permissions relating to ~/.config/ folder... because it does the same with banshee also, and the errors relate to permission denied to all folders within ~/.config/ whereas in root it can read and write and access this folder and the config files within fine. Can anyone tell me how I can try changing the privileges relating to this folder?
Thanks,
Scott.
- 01-21-2010 #2
What does the following code give you?
Are you the owner? If not thenCode:ls -l /home/scott/.config/exaile/exaile.log
Asuming that scott is your user name on the system.Code:chown scott.scott /home/scott/.config/exaile/exaile.log
- 01-21-2010 #3Just Joined!
- Join Date
- Jan 2010
- Posts
- 38
Hi Lazydog,
the code gave me:
Then I did teh chown command like you said and the previous command gives this now:[scott@ScottLAPTOP ~]$ ls -l /home/scott/.config/exaile/exaile.log
-rw-r--r-- 1 root root 953 2010-01-21 14:56 /home/scott/.config/exaile/exaile.log
So im taking that the "scott scott" part means that im now the owner of it?[scott@ScottLAPTOP ~]$ ls -l /home/scott/.config/exaile/exaile.log-rw-r--r-- 1 scott scott 953 2010-01-21 14:56 /home/scott/.config/exaile/exaile.log
But now when I try and run Exaile I get a different error message:
[scott@ScottLAPTOP ~]$ exaile
Traceback (most recent call last):
File "/usr/lib/exaile/exaile.py", line 56, in <module>
main()
File "/usr/lib/exaile/exaile.py", line 53, in main
exaile = main.Exaile()
File "/usr/lib/exaile/xl/main.py", line 77, in __init__
self.setup_logging()
File "/usr/lib/exaile/xl/main.py", line 267, in setup_logging
logfile.doRollover() # each session gets its own file
File "/usr/lib/python2.6/logging/handlers.py", line 125, in doRollover
os.rename(sfn, dfn)
OSError: [Errno 13] Permission denied
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib/python2.6/logging/__init__.py", line 1508, in shutdown
h.flush()
File "/usr/lib/python2.6/logging/__init__.py", line 754, in flush
self.stream.flush()
ValueError: I/O operation on closed file
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.6/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/usr/lib/python2.6/logging/__init__.py", line 1508, in shutdown
h.flush()
File "/usr/lib/python2.6/logging/__init__.py", line 754, in flush
self.stream.flush()
ValueError: I/O operation on closed file
Is the line:
saying that it cant access /usr/lib as well, similar to how it couldn't access ~/.config/ ? Its as if all the places it wants to access arent owned by me, only by root, why is this?File "/usr/lib/exaile/exaile.py", line 56, in <module>
main()
File "/usr/lib/exaile/exaile.py", line 53, in main
exaile = main.Exaile()
File "/usr/lib/exaile/xl/main.py", line 77, in __init__
self.setup_logging()
File "/usr/lib/exaile/xl/main.py", line 267, in setup_logging
logfile.doRollover() # each session gets its own file
File "/usr/lib/python2.6/logging/handlers.py", line 125, in doRollover
os.rename(sfn, dfn)
OSError: [Errno 13] Permission denied
Any ideas?
Thanks,
Scott.
- 01-21-2010 #4
I would guess that you started exaile as root intially.
I would run chown on your whole home directory.
Code:su - chown -R scott.scott /home/scott exit
- 01-21-2010 #5Just Joined!
- Join Date
- Jan 2010
- Posts
- 38
Hi again Reed,
Thats fixed the problem perfectly
.
I knew thats what I needed to do, I just didnt know how to make all the systems files belong to me thats all.
Has anyone got any idea how all the folders ended up belonging to root, what did I do wrong?
Thanks everyone for the help
.
Scott.



