Binhex deluge Docker: folder/file permission issue


Recommended Posts

create a script called complete-torrents.sh and make it executable and place it in the config folder for deluge.

 

 

with the following content.

 

#!/bin/bash
torrentid="$1"
torrentname="$2"
torrentpath="$3"

chmod -R u-x,go-rwx,go+u,ugo+X "$torrentpath/$torrentname"

 

 

then in the deluge interface...

 

select preferences , execute , and an event and select torrent complete and browse for the script and apply.

Link to comment

i have been breaking my head around setting permissions to my downloads. Currently i can only move rename etc... Wheni run the new permissions from unraid or SSH into unraid toreset the permissions.

 

Is there a smart automatic way around this?

Has this been reported by anyone else on binhex's docker support thread? I have to wonder if it isn't something specific to your configuration.

 

I don't use this docker, but I do use a transmission docker for torrents, and I have never had this problem.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.