You are not logged in.

#1 2010-05-08 05:28:49

bogamol
Member
Registered: 2010-04-28
Posts: 9

[solved]Permissions for Deluge

$ deluge
[ERROR   ] 01:15:23 config:419 Error writing new config file: [Errno 13] Permission denied: '/home/rob/.config/deluge/ui.conf.new'
Traceback (most recent call last):
  File "/usr/bin/deluge", line 8, in <module>
    load_entry_point('deluge==1.2.3', 'console_scripts', 'deluge')()
  File "/usr/lib/python2.6/site-packages/deluge/main.py", line 121, in start_ui
    UI(options, args, options.args)
  File "/usr/lib/python2.6/site-packages/deluge/ui/ui.py", line 128, in __init__
    ui = GtkUI(args)
  File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/gtkui.py", line 201, in __init__
    self.ipcinterface = IPCInterface(args)
  File "/usr/lib/python2.6/site-packages/deluge/ui/gtkui/ipcinterface.py", line 82, in __init__
    os.makedirs(deluge.configmanager.get_config_dir("ipc"))
  File "/usr/lib/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/rob/.config/deluge/ipc'

I thnk the solution to this is to do 'useradd -G group rob' but I am not able to figure out what group to add.

$ groups rob
lp wheel video audio optical floppy storage power vboxusers users

I've successfully run deluge as root, to see if that was a problem. It opened fine. However it gave me deprecation warnings

$ sudo deluge
Password: 
/usr/lib/python2.6/site-packages/deluge/core/core.py:502: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/python2.6/site-packages/deluge/core/core.py:508: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/python2.6/site-packages/deluge/core/core.py:496: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)
/usr/lib/python2.6/site-packages/deluge/core/core.py:611: DeprecationWarning: Use get_session_status().
  warnings.warn("Use get_session_status().", DeprecationWarning)

Last edited by bogamol (2010-05-08 12:30:35)

Offline

#2 2010-05-08 09:47:47

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved]Permissions for Deluge

you got that permission denied just because you run deluge with sudo. so remove that /home/rob/.config/deluge/ and run as user rob directly


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-05-08 12:28:15

bogamol
Member
Registered: 2010-04-28
Posts: 9

Re: [solved]Permissions for Deluge

OK, I figured it out. The issue was related to folder permissions on the /home/rob/.config/deluge folder

I ran this command $ sudo chmod -R 777 \deluge from the .config directory and now it is running like a trooper, torrenting Ubuntu Studio for my next experiment on Virtual Box. w00t!

Last edited by bogamol (2010-05-08 12:33:48)

Offline

#4 2012-04-29 00:29:32

Storris
Member
Registered: 2012-04-26
Posts: 14

Re: [solved]Permissions for Deluge

Thanks bogamol. Just applied this - $ chmod -R 777 \deluge - to a brand new installation and Deluge now works for me as a user.

Offline

#5 2012-04-29 05:09:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,334

Re: [solved]Permissions for Deluge

It has been almost 2 years... he may not answer.  I'll leave this open for now.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB