Deluge permission problem /var/lib/deluged/Downloads

Hello all and thanks for Freedombox,

I try to set up a sharing link on: /var/lib/deluged/Downloads with the sharing app but when it is opened in a web browser I get this “You don’t have permission to access this resource.” When I have set up a sharing link for: /var/lib/transmission-daemon/downloads, and there is no problem. The permissions for the directory are.

drwxr-x— 1 debian-deluged debian-deluged Downloads
drwsrwxr-x 1 debian-transmission debian-transmission downloads

Debian GNU/Linux 10 (buster) and FreedomBox version 20.19. FreedomBox is up to date.

Regards: peter

1 Like

Transmission allows its Downloads directory and the downloaded files under it to be world readable by default.

Deluge on the other hand keeps the Downloads directory and downloaded files only readable to the daemon and its user group.

Related:

Maybe Sharing app should be explicitly given permissions to access Deluge’s Downloads directory.

Or maybe only the system and Deluge would need some configuration tweaks, to make also the deluge data accessible for all users and selected other apps (umask, /home/group/deluge or /home/<user>/deluge, as sgid-group-directories).