SSH & ruTorrent Permission(s) Error


#1

Hello,

I was trying to fix permissions for PLEX and might have messed something up and now my QuickBox UI doesn’t have ruTorrent as an option on the left pane even though its enabled and apparently running. In addition, I can’t access my SSH anymore as it says:

.bash_profile: Permission denied
-bash-4.3$

Thank you for helping me out.


#2

Are you attempting to connect via port 4747 and still you receive the error?

Also, what types of permission changes were you attempting?
There is this FAQ you can refer to if permissions are a problem for Plex:


#3

The PLEX guide is precisely what I used but I must have put something wrong and messed up the permission(s). I am connecting with 4747 as port for SSH and it connects but I have the permission error which is not allowing me to connect to ruTorrent at all.

From what I’m understanding is the permissions are now messed up for my username which is why I can’t SSH or QuickBox but can connect to FTP properly. Is there a way to check/switch/fix permissions for my QuickBox install?

Thanks


#5

I have managed to get my SSH working properly. My QuickBox UI still won’t display ruTorrent link and when I visit it manually I can see my torrents but I get this error:

rutracker_check: Plugin will not work. Webserver user must have execute access to the rtorrent session directory

I can’t specify a create or add torrent directory because it isn’t fetching any. Any ideas?


#6

It’s all permissions based. What does la -l /srv/rutorrent/plugins output. This could be an issue with permissions on the create .sh scripts as well. So for that, what is the output of la -l /srv/rutorrent/plugins/create. They should be as follows:

###/srv/rutorrent/plugins

# la -l /srv/rutorrent/plugins
total 220K
drwxrwsr-x 7 www-data www-data 4.0K Apr 24 17:54 autodl-irssi
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 autotools
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 check_port
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 chunks
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 cookies
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 cpuload
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 create
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 data
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 datadir
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 diskspace
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 edit
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 erasedata
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 extratio
drwxrwsr-x 5 www-data www-data 4.0K Apr 24 17:54 extsearch
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 feeds
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 filedrop
drwxrwsr-x 5 www-data www-data 4.0K Apr 24 17:54 filemanager
drwxrwsr-x 5 www-data www-data 4.0K Apr 24 17:54 fileshare
drwxrwsr-x 5 www-data www-data 4.0K Apr 24 17:54 fileupload
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 geoip
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 history
drwxrwsr-x 2 www-data www-data 4.0K Apr 24 17:54 httprpc
drwxrwsr-x 2 www-data www-data 4.0K Apr 24 17:54 ipad
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 loginmgr
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 logoff
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 lookat
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 mediainfo
drwxrwsr-x 6 www-data www-data 4.0K Apr 24 17:54 mobile
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 pausewebui
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 ratio
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 ratiocolor
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 retrackers
drwxrwsr-x 2 www-data www-data 4.0K Apr 24 17:54 rpc
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 rss
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 rssurlrewrite
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 rutracker_check
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 scheduler
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 screenshots
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 seedingtime
drwxrwsr-x 2 www-data www-data 4.0K Apr 24 17:54 show_peers_like_wtorrent
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 source
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 stream
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 theme
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 throttle
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 tracklabels
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 trafic
drwxrwsr-x 3 www-data www-data 4.0K Apr 24 17:54 unpack
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 xmpp
drwxrwsr-x 2 www-data www-data 4.0K Apr 24 17:54 _getdir
drwxrwsr-x 2 www-data www-data 4.0K Apr 24 17:54 _noty
drwxrwsr-x 2 www-data www-data 4.0K Apr 24 17:54 _noty2
drwxrwsr-x 4 www-data www-data 4.0K Apr 24 17:54 _task
-rw-rw-r-- 1 www-data www-data   45 Apr  6 01:24 .git
-rw-rw-r-- 1 www-data www-data  734 Apr  6 01:24 .gitignore
-rw-rw-r-- 1 www-data www-data   19 Apr  6 01:24 README.md

###/srv/rutorrent/plugins/create

# la -l /srv/rutorrent/plugins/create
total 76K
drwxrwsr-x 2 www-data www-data 4.0K Apr 24 17:54 images
drwxrwsr-x 2 www-data www-data 4.0K Apr 24 17:54 lang
-rw-rw-r-- 1 www-data www-data 4.5K Apr 24 17:54 action.php
-rw-rw-r-- 1 www-data www-data  411 Apr 24 17:54 buildtorrent.sh
-rw-rw-r-- 1 www-data www-data  809 Apr 24 17:54 conf.php
-rw-rw-r-- 1 www-data www-data 2.4K Apr 24 17:54 correct.php
-rw-rw-r-- 1 www-data www-data  860 Apr 24 17:54 create.css
-rw-rw-r-- 1 www-data www-data 2.7K Apr 24 17:54 createtorrent.php
-rw-rw-r-- 1 www-data www-data  411 Apr 24 17:54 createtorrent.sh
-rw-rw-r-- 1 www-data www-data 6.1K Apr 24 17:54 init.js
-rw-rw-r-- 1 www-data www-data  555 Apr 24 17:54 init.php
-rw-rw-r-- 1 www-data www-data  252 Apr 24 17:54 inner.sh
-rw-rw-r-- 1 www-data www-data   27 Apr 24 17:54 konqueror.css
-rw-rw-r-- 1 www-data www-data  413 Apr 24 17:54 mktorrent.sh
-rw-rw-r-- 1 www-data www-data  464 Apr 24 17:54 plugin.info
-rw-rw-r-- 1 www-data www-data  406 Apr 24 17:54 transmissioncli.sh
-rw-rw-r-- 1 www-data www-data  406 Apr 24 17:54 transmissioncreate.sh