[Solved] Can't start download: Permission denied

General support for problems installing or using Deluge
Post Reply
FUNimations
New User
New User
Posts: 3
Joined: Tue Oct 25, 2022 6:43 pm

[Solved] Can't start download: Permission denied

Post 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.
Last edited by FUNimations on Wed Oct 26, 2022 7:01 pm, edited 1 time in total.
FUNimations
New User
New User
Posts: 3
Joined: Tue Oct 25, 2022 6:43 pm

Re: Can't start download: Permission denied

Post 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?
mhertz
Moderator
Moderator
Posts: 2215
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Can't start download: Permission denied

Post by mhertz »

Yes, probably it. Parent-dirs need traverse bit set(chmod +x) I presume.
FUNimations
New User
New User
Posts: 3
Joined: Tue Oct 25, 2022 6:43 pm

Re: Can't start download: Permission denied

Post by FUNimations »

yes, giving -x permission to the parent directory solved my issue.
Solved
TheMegulator
New User
New User
Posts: 4
Joined: Mon Mar 25, 2024 8:05 pm

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

Post by TheMegulator »

Hi, is adding [deluge] to the [user] group a good solution for this issue?
Thanks
Post Reply