![]() The /home/user/script.sh file is as follows: #!/bin/bashĮcho sudopassword | /usr/bin/sudo -S /bin/chmod -f -R 777 /data/transmission/completedĮcho sudopassword | /usr/bin/sudo -S /bin/chown -f -R user /data/transmission/completed ![]() The owner of the script file is debian-transmission and I have the permissions set to 777, so there shouldn't be an issues with Transmission accessing the script unless I have missed something here. The script does not seem to be executing after a torrent completes, I know there are other issues that could be going on aside the from the content of the script itself. ![]() "script-torrent-done-filename": "/home/user/script.sh", I am using the following relevant settings in /etc/transmission-daemon/settings.json: "download-dir": "/data/transmission/completed", I am looking to have the Transmission bittorrent client execute a script that changes the owner and permissions of all torrents in the completed folder when a torrent completes downloading. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |