Can't get rutorrent to work.
Can't get rutorrent to work.
Hi,
I seem to have a problem getting rutorrent to access specific folder. For example, when I load up rutorrent, the log show me that:
Which is weird since rtorrent has permission on all folders:
I even chmod'd 777 all the folders and it still didn't work. I'm pretty sure it's a permission problem but I can't figure it out.
Did you guys ever have that problem?
I'm running Centos 6.8 and I did tried with Centos 7 and Debian and they still have the same problem.
Thanks.
EDIT: Forgot to mention that it was working fine on 0.9.8-15 release.
I seem to have a problem getting rutorrent to access specific folder. For example, when I load up rutorrent, the log show me that:
Code: Select all
[30.10.2016 02:09:59] rTorrent user must have read/execute access to the tmp directory. ruTorrent will not work. (/home/rtorrent/tmp/)
[30.10.2016 02:09:59] rss: Some functionality will be unavailable. Webserver user can't access external program (curl).
[30.10.2016 02:09:59] rutracker_check: Plugin will not work. Webserver user must have execute access to the rtorrent session directory (/home/rtorrent/.session/).
Code: Select all
drwx--x--x. 9 rtorrent rtorrent 4096 Oct 30 02:08 .
drwxr-xr-x. 6 root root 4096 Oct 30 02:00 ..
-rw-r--r--. 1 rtorrent rtorrent 18 May 10 19:21 .bash_logout
-rw-r--r--. 1 rtorrent rtorrent 176 May 10 19:21 .bash_profile
-rw-r--r--. 1 rtorrent rtorrent 124 May 10 19:21 .bashrc
drwxr-xr-x. 4 root root 4096 Oct 30 02:00 conf
drwxrwxr-x. 2 rtorrent rtorrent 4096 Oct 30 02:08 downloads
drwxrw----. 3 rtorrent rtorrent 4096 Oct 30 02:01 .pki
-rw-r--r--. 1 rtorrent rtorrent 2571 Oct 30 02:09 .rtorrent.rc
drwxrwxr-x. 2 rtorrent rtorrent 4096 Oct 30 02:11 .session
drwxrwxrwx. 2 rtorrent rtorrent 4096 Oct 30 02:00 tmp
drwxrwxr-x. 2 rtorrent rtorrent 4096 Oct 30 02:08 .watch
drwxr-x--x. 3 rtorrent rtorrent 4096 Oct 30 02:00 web
Did you guys ever have that problem?
I'm running Centos 6.8 and I did tried with Centos 7 and Debian and they still have the same problem.
Thanks.
EDIT: Forgot to mention that it was working fine on 0.9.8-15 release.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Can't get rutorrent to work.
in your /home/rtorrent/conf/web/apcahe2.conf under the Virtual Server for your domain include :/home/rtorrent/tmp in the open_basedir include path.
Re: Can't get rutorrent to work.
Ohhh thanks, that was it. /home/rtorrent/tmp was already there, but I put /home/rtorrent instead and it fixed my .session and tmp problem. I also put /usr/bin in there because rutorrent didnt have access to curl. Is this bad for the security of my server?mehargags wrote:in your /home/rtorrent/conf/web/apcahe2.conf under the Virtual Server for your domain include :/home/rtorrent/tmp in the open_basedir include path.
Last edited by cafE on Sun Oct 30, 2016 8:31 pm, edited 1 time in total.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Can't get rutorrent to work.
usually once installed, you can check again by removing the entries... if the app breaks, you can leave the entry like it is.
YES...access to /usr/bin can be a security problem, but some old apps/code just relies on it badly. I'm not sure how to work around with it and would love to be educated.
YES...access to /usr/bin can be a security problem, but some old apps/code just relies on it badly. I'm not sure how to work around with it and would love to be educated.
Re: Can't get rutorrent to work.
I ended up copying the curl library into my home folder and just having my home/rtorrent folder into basedir. I modify the rutorrent config to point my curl library into /home/rtorrent/.bin/curl and it work fine. Thanks for the help ;)