Opened 15 years ago
Closed 15 years ago
#1244 closed feature-request (Invalid)
Use a path in the filename when adding from a URL
Reported by: | keosukoa | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | Core | Version: | 1.2.3 |
Keywords: | Cc: |
Description
I am running deluged as a service as a NON-root user. Problem is when I attempt to use the Android App, Transdroid as a client I get a permissions error when attempting to download the torrent file.
It looks like add_torrent_url in core.py is just using the filename of the torrent to save the file. This is a problem when running as a non-root service because deluge attempts to save this file in the root dir '/' which only has root permissions. It would help to specify a path along with the filename where I can change the permissions, like in the .config directory or even /tmp.
Workaround is to run the daemon as a root user but that is undesirable. Its also not fun to see a bunch of torrent files collecting in the root dir '/'.
Simply point deluged config directory to a non-root directory with the -c switch.