You are not logged in.

#1 2009-02-08 18:49:35

michaelks
Member
Registered: 2009-01-26
Posts: 68

Deluge stopped working, runs only as root [SOLVED]

If i run deluge as user i get this at some point:
OSError: [Errno 13] Permission denied: '/root/.config'
I can run it as root though and then /root/.config/deluge/ gets created.
I tried to pore through /usr/lib/python2.6/site-packages/deluge to find where i could tell it to create ~/.config/deluge instead, but it's way over my head. I tried to copy root/.config/deluge/ to ~/.config/ and then chmodding it, but to no avail.
It was working fine before the last upgrade, although the stats bar would go blank every now and then. This was the upgrade.

[2009-02-07 19:38] upgraded binutils (2.19-1 -> 2.19.1-1)
[2009-02-07 19:38] upgraded ed (1.1-2 -> 1.2-1)
[2009-02-07 19:38] upgraded file (4.26-1 -> 5.00-1)
[2009-02-07 19:38] upgraded hal (0.5.11-4 -> 0.5.11-7)
[2009-02-07 19:38] upgraded kdebase-workspace (4.2.0-4 -> 4.2.0-6)
[2009-02-07 19:39] upgraded kernel26 (2.6.28.2-1 -> 2.6.28.3-1)
[2009-02-07 19:39] upgraded libsndfile (1.0.17-2 -> 1.0.18-1)
[2009-02-07 19:39] upgraded patch (2.5.9-1 -> 2.5.9-2)
[2009-02-07 19:39] upgraded pycups (1.9.42-2 -> 1.9.45-1)
[2009-02-07 19:39] upgraded system-config-printer (1.1.2-1 -> 1.1.3-1)

By the way, compiz icon also stopped working, then by chance running compiz-manager it started, so i looked at what it had started and mapped the icon accordingly   (/usr/bin/compiz --ignore-desktop-hints --replace --loose-binding ccp), so now it works again.

Last edited by michaelks (2009-02-09 10:56:13)

Offline

#2 2009-02-08 19:21:26

evr
Arch Linux f@h Team Member
Registered: 2009-01-23
Posts: 554

Re: Deluge stopped working, runs only as root [SOLVED]

maybe the ownership rights of your .config directory got changed to root for some reason?  if so, you could chown the directory back to your username and group?

Offline

#3 2009-02-08 19:43:46

xaiviax
Member
From: Michigan
Registered: 2008-11-04
Posts: 282

Re: Deluge stopped working, runs only as root [SOLVED]

Many upgrades cause the need to delete ~/.config/deluge and then try running deluge again.

Offline

#4 2009-02-08 21:11:00

michaelks
Member
Registered: 2009-01-26
Posts: 68

Re: Deluge stopped working, runs only as root [SOLVED]

That's not it, here are the permissions:

michael@michael ~$ ls -l /home/michael/.config/
total 76
drwxr-xr-x 2 michael users  4096 2009-01-27 00:23 Google
drwx------ 2 michael users  4096 2009-02-04 18:50 Thunar
-rw-r--r-- 1 michael users 11150 2009-02-07 00:22 Trolltech.conf
drwxr-xr-x 3 michael users  4096 2009-02-07 01:10 audacious
drwx------ 2 michael users  4096 2009-01-18 23:36 autostart
drwx------ 3 michael users  4096 2009-01-19 00:20 compiz
drwx------ 2 michael users  4096 2009-01-27 07:44 enchant
drwxr-xr-x 2 michael users  4096 2009-02-05 01:16 gnome-mplayer
drwxr--r-- 2 michael users  4096 2009-01-19 19:30 gpicview
drwx------ 2 michael users  4096 2009-02-07 16:10 gtk-2.0
drwx------ 3 michael users  4096 2009-01-16 23:24 lxpanel
-rw-r--r-- 1 michael users   128 2009-02-01 21:22 lxtask.conf
drwx------ 2 michael users  4096 2009-01-16 23:25 lxterminal
drwxr-xr-x 2 michael users  4096 2009-01-16 23:24 openbox
drwxr-xr-x 2 michael users  4096 2009-01-18 23:24 pcmanfm
drwx------ 2 michael users  4096 2009-01-20 15:17 vlc
drwxr-xr-x 6 michael users  4096 2009-02-04 18:51 xfce4

I removed ~/.config/deluge , but that didn't fix it, and now it will not be created again because i can't run deluge as michael. It will run as root, and /root/.config/deluge will be created, but that's all. I tried reinstalling, also the new version arch package that's on their site, also tried downgrading everything py, but nothing. Oh and to cap it all, my keyboard is acting strange too ! guess I'll get serious about creating restore points from now on.

Offline

#5 2009-02-09 03:43:21

michaelks
Member
Registered: 2009-01-26
Posts: 68

Re: Deluge stopped working, runs only as root [SOLVED]

Finally figured it out, ran sudo deluge, which created ~/.config/deluge/ (with root permissions). Then ran deluge as user, it complained of permissions (to ~/.config/deluge/), changed those  and it runs normally at last. Wish i had thought of that earlier. Thanks guys.

Last edited by michaelks (2009-02-09 10:55:33)

Offline

Board footer

Powered by FluxBB