After experimenting with the /var/packages/syncthing/scripts/start-stop-status
user settings,
I decided that the only clear way to overcome this limitation is to chmod the whole Directory before allowing FileBot to run it’s script:
-
SSH into the NAS with your main account.
-
Create a script using vi or nano
#! /bin/sh
chmod -R 777/volume1/YOURFOLDER/Media
-
Give it a name like perms.sh and then
sudo chmod 755 perms.sh
to make it executable. -
Go to your Task Scheduler and set the script user as ‘root’ and edit the time to execute as well as the location of it. I put mine inside one of my shares.
-
Execute your Filebot script and avoid permission errors when moving files!
*Warning this is only meant to be run at home and not in a production setting, as this makes things insecure.
I would still like to take suggestions to do this a better way.