Adding a button to run script server-side

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
Post Reply
Harrod200
Posts: 1
Joined: Tue Sep 23, 2014 1:53 pm

Adding a button to run script server-side

Post by Harrod200 »

I've looked at this thread, and think from looking at the patch code I can figure out how to add a button to the Web interface, but would it be possible to configure this button to execute a script running on the remote host (in this case, my NAS)?

Currently, transmission is running as root on the NAS, and I can't for the life of me figure out how to configure Debian to force new files to inherit the permissions of the folder (777, security is of zero concern here), as Transmission leaves all files as root 700. I have a bash script to chmod -r the permissions of that folder, but running it currently means SSH'ing into the NAS and running it manually. Ideally, I'd like to be able to click a button on the NAS interface and remotely execute the script.
Post Reply