Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Binhex deluge Docker: folder/file permission issue

Featured Replies

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?

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.

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.

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.

  • Author

Got the script working.....!! Many thanks.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.