Insufficient rights for saving file

Support for Deluge on Apple Mac OS
Post Reply
Tockman
New User
New User
Posts: 1
Joined: Wed Jun 05, 2019 7:17 am

Insufficient rights for saving file

Post by Tockman »

Deluge 1.3.15, MacOS 10.15.
I tried to move downloaded file on external disk and got an error: "Could not read the contents of My Book Thunderbolt Duo. Error opening directory '/Volumes/My Book Thunderbolt Duo': Operation not permitted".
The same thing goes when I wanted to save it in a desktop folder. I guess the access rights are problem. Is there some working solution? If so, what I need to add to folder properties?
shamael
Compulsive Poster
Compulsive Poster
Posts: 667
Joined: Sat Oct 08, 2016 9:28 am

Re: Insufficient rights for saving file

Post by shamael »

Hi,

Adapt the permission for the folder used by Deluge and all subfolder/files to the user Deluge is loading with.
I'm not a Mac user as permissions are based on Linux it should e the same stuff
fuga
Member
Member
Posts: 24
Joined: Fri Feb 15, 2019 3:36 am

Re: Insufficient rights for saving file

Post by fuga »

Whenever I've run into this simply rebooting fixes permissions.
keca2360
New User
New User
Posts: 1
Joined: Sat Oct 12, 2019 7:54 pm

Re: Insufficient rights for saving file

Post by keca2360 »

I am having this issue as well. MacOS 10.15, Deluge 1.3.15

I am using a torrent from a private tracker. When attempting to open the torrent file, Deluge gives the above error when attempting to browse to the containing folder. This is remedied by saving the torrent file to Google Drive and opening it from there.

Curious that Deluge seems to have no problem with saving the file to the same folder that it does not have permission to browse...

I have tried all of the obvious remedies, but 'simply rebooting fixes permissions' doesn't make much sense to me, not to mention failing to fix the issue.

It seems the whole world is having trouble with torrent files and Catalina. For now, saving the torrent to a cloud drive seems to be a decent workaround, albeit annoying.
ania1224
New User
New User
Posts: 1
Joined: Sat Oct 19, 2019 11:04 pm

Re: Insufficient rights for saving file

Post by ania1224 »

I am having this same issue since MacOS updated recently. Gave Deluge full access in sys preferences and still continues with this error.
This is an issue of a family member who is not computer savvy, and I really don't know much about Macs... Any solutions to this issue yet?
Simon
New User
New User
Posts: 1
Joined: Sat Nov 16, 2019 10:39 pm

Re: Insufficient rights for saving file

Post by Simon »

I'm not a developer, but going by this thread Deluge will need to be updated to work with the Catalina security changes. Until then there are a couple of workarounds that don't require granting it full disk access (which is a Bad Idea).

The Catalina restrictions apply to specific folders like Documents, Downloads and Desktop, so Deluge works fine if you point it at a folder outside these locations. For example, I moved my torrents folder from /Users/username/Documents/Torrents to /Users/username/Torrents. This is slightly harder to navigate to in Finder, which could be an issue if you're helping out non-technical friends or family, but you can create an alias to the new location on the desktop for them to easily get to their downloads (just don't try to point Deluge itself at this alias, or the restrictions on Desktop will kick in).

If for some reason you can't do that, a more clunky alternative is to run Deluge from a terminal window:

/Applications/Deluge.app/Contents/MacOS/Deluge

The app then "inherits" the permissions of Terminal, so by allowing Terminal to access your Documents folder or whatever Deluge will also be able to access it.
emri
New User
New User
Posts: 1
Joined: Tue Mar 31, 2020 9:58 pm

Re: Insufficient rights for saving file

Post by emri »

Don't know if it's really a good idea, but adding bin/bash under "Full Disk Access" section in Preferences/Security & Privacy and Privacy tab resolved a similar problem for me (can't add torrent file from Downloads/Documents/...) ;)
  • Clic on +
  • hit [CMD+SHIFT+/]
  • type /bin
  • select bash
No need to let Deluge.app in this list

It's not an april fool :P
Prisca22
Member
Member
Posts: 13
Joined: Fri May 20, 2016 1:31 pm

Re: Insufficient rights for saving file

Post by Prisca22 »

Hi, I tried using your bin/bash idea, but when I click on +, I am sent right to the download folder, but I can't open it, only cancel. I am on MacOS Catalilna, trying to give Deluge access to my downloads folder. Thanks for any help... :-)
tubedogg
New User
New User
Posts: 4
Joined: Mon Aug 23, 2010 2:13 am

Re: Insufficient rights for saving file

Post by tubedogg »

Adding /bin/bash did work, at least for me in Monterey. Adding Deluge.app and the Deluge and python executables inside Deluge.app did not work.

The easiest way to do it is to open Finder, press Command+Shift+G, then type /bin and press Return. Drag and drop "bash" from that folder into System Preferences > Security & Privacy > Full Disk Access. Then quit and reopen Deluge.app.
Post Reply