Page 1 of 1

[Solved] Can't start download: Permission denied

Posted: Tue Oct 25, 2022 7:21 pm
by FUNimations
Hi,

I'm new to Ubuntu (22.04); installed Deluge. This worked fine.
From the GTK client i was able to download.
Next i followed these instructions to install the deamon as a service and web UI.
https://deluge.readthedocs.io/en/latest ... rvice.html
I also added my own user to the deluge group, suggested as 2nd command.
Did nothing from up to log rotation.

Daemon starts, Webui starts, even after reboot.
After isntalling as a service it suggested the default download folder to var/lib/deluge/Downloads
For some reason i'm not able to access that folder, before i rebooted my system.
Anyway, i changed the default downloadfolder to /home/downloads thinking: "i can access that".

I'm able to add a torrent, but the torrent never starts and goes into error.
Under status it's saying 'permission denied'.
I tried creating a downlaod folder set to the deluge group and tyr to download to there, but no luck either.

Also since i installed delug as a service, i'm no longer able to connect to the daemon using the GTK client.
I'm not to bothered by not being able to connect the gtk client, but it might be related.

In 1 of the steps we're supposed to set a UMASK for the deamon
I used 007 first as in the docs. Then tried changing it to 000 as it was described that it would give access to everyone and everything. But that didn't change much.

Re: Can't start download: Permission denied

Posted: Wed Oct 26, 2022 2:39 pm
by FUNimations
So i've made 'some progress'
When i change the download path to var/lib/deluge/downloads, the downloading starts.
Only when i try to download to /home/<user>/Downloads, it fails. Eventhough Downloads has been given Deluge as owner.
So might be my lack of linux knowledge, but because delmuge has no permission for my parent folder, i can't access the downloads folder?

Re: Can't start download: Permission denied

Posted: Wed Oct 26, 2022 2:57 pm
by mhertz
Yes, probably it. Parent-dirs need traverse bit set(chmod +x) I presume.

Re: Can't start download: Permission denied

Posted: Wed Oct 26, 2022 7:01 pm
by FUNimations
yes, giving -x permission to the parent directory solved my issue.
Solved

Re: [Solved] Can't start download: Permission denied

Posted: Fri Mar 29, 2024 12:23 pm
by TheMegulator
Hi, is adding [deluge] to the [user] group a good solution for this issue?
Thanks