May 6, 201511 yr 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?
May 6, 201511 yr 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.
May 6, 201511 yr i don't use binhex's deluge, i forked my own from needo's, so i don't know whether it runs as nobody in binhex container. if it doesn't you may need to add this line chown -R nobody:users "$torrentpath/$torrentname" directly before or after the chmod line.
May 6, 201511 yr 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.
Archived
This topic is now archived and is closed to further replies.