Error creating a torrent in rutorrent


#1

When trying to create a new torrent in rutorrent, I get the follow error:

/srv/rutorrent/share/users/fifisgone/settings/tasks/147084685157ab5783544366.10538366/start.sh: line 12: /srv/rutorrent/plugins/create/inner.sh: Permission denied


#2

Hey there @fifisgone, what is the output of the following:

ls -l /srv/rutorrent/share/users/fifisgone/settings/tasks

and

ls -l /srv/rutorrent/plugins/create

and

ls -l /srv/rutorrent/plugins/_task

Seems like there could possibly be a permissions issue with your _task plugin


#3

ls -l /srv/rutorrent/share/users/fifisgone/settings/tasks

> total 0

ls -l /srv/rutorrent/plugins/create

> total 76K
> -rw-rw-r-- 1 www-data www-data 4.5K Aug  8 17:16 action.php
> -rwxr-xr-x 1 www-data www-data  411 Aug  3 21:04 buildtorrent.sh
> -rw-r--r-- 1 www-data www-data  779 Aug  3 21:04 conf.php
> -rw-r--r-- 1 www-data www-data 2.4K Aug  3 21:04 correct.php
> -rw-rw-r-- 1 www-data www-data  860 Aug  3 21:04 create.css
> -rw-r--r-- 1 www-data www-data 2.7K Aug  3 21:04 createtorrent.php
> -rwxr-xr-x 1 www-data www-data  411 Aug  3 21:04 createtorrent.sh
> drwxrwsr-x 2 www-data www-data 4.0K Aug  3 21:04 images
> -rw-rw-r-- 1 www-data www-data 6.1K Aug  3 21:04 init.js
> -rw-rw-r-- 1 www-data www-data  555 Aug  3 21:04 init.php
> -rwxr-xr-x 1 www-data www-data  252 Aug  3 21:04 inner.sh
> -rw-rw-r-- 1 www-data www-data   27 Aug  3 21:04 konqueror.css
> drwxrwsr-x 2 www-data www-data 4.0K Aug  3 21:04 lang
> -rwxr-xr-x 1 www-data www-data  413 Aug  3 21:04 mktorrent.sh
> -rw-rw-r-- 1 www-data www-data  464 Aug  3 21:04 plugin.info
> -rwxr-xr-x 1 www-data www-data  406 Aug  3 21:04 transmissioncli.sh
> -rw-rw-r-- 1 www-data www-data  406 Aug  3 21:04 transmissioncreate.sh

ls -l /srv/rutorrent/plugins/_task

> total 56K
> -rw-rw-r-- 1 www-data www-data  864 Aug  8 17:16 action.php
> -rw-rw-r-- 1 www-data www-data  179 Aug  3 21:04 conf.php
> drwxrwsr-x 2 www-data www-data 4.0K Aug  3 21:04 images
> -rw-rw-r-- 1 www-data www-data  16K Aug  3 21:04 init.js
> -rw-rw-r-- 1 www-data www-data  305 Aug  3 21:04 init.php
> drwxrwsr-x 2 www-data www-data 4.0K Aug  3 21:04 lang
> -rw-rw-r-- 1 www-data www-data  310 Aug  3 21:04 plugin.info
> -rw-rw-r-- 1 www-data www-data  545 Aug  3 21:04 _task.css
> -rw-rw-r-- 1 www-data www-data 9.1K Aug  3 21:04 task.php

#4

If it were me, I would

sudo rm -rf /srv/share/users/fifisgone/settings/tasks

This will allow rutorrent to recreate the tasks folder with proper permissions and should do away with any such errors. This will have the side effect of removing your tasks history, however. If you want to be safe you can just mv the folder first instead to test if it works.