I've set up 10 users on rpc1 to rpc10
Users 1 -9 work fine.
When user 10 logs into rutorrent they see torrents for user 1.
But all the settings are correct, (.rtorrent.rc, config.php) so if user 10 add's torrent it loads in user 10 folder (get_dir see's it as user10) and the torrent will run ok and will save to user 10 folder but the user cannot see it's succesfully loaded via rutorrent as user 10 see user 1 torrents??
The setting for ruT showing the torrents is in config.php
Here is the user10 config.php.
Code: [Select]
<?php
// configuration parameters
// for snoopy client
@define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9) Gecko/2008052906 Firefox/3.0', true);
@define('HTTP_TIME_OUT', 30, true); // in seconds
@define('HTTP_USE_GZIP', true, true);
@define('RPC_TIME_OUT', 5, true); // in seconds
@define('LOG_RPC_CALLS', false, true);
@define('LOG_RPC_FAULTS', true, true);
// for php
@define('PHP_USE_GZIP', false, true);
@define('PHP_GZIP_LEVEL', 2, true);
$do_diagnostic = true;
$log_file = '/tmp/error10.log'; // path to log file (comment or make empty to disable logging)
$saveUploadedTorrents = false;
$topDirectory = '/home/user10/'; // Upper available directory. Absolute path with trail slash.
$forbidUserSettings = false;
$scgi_port = 5010;
$scgi_host = "127.0.0.1";
$XMLRPCMountPoint = "/RPC10"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
$pathToExternals = array(
"php" => '', // Something like /usr/bin/php. If empty, will be founded in PATH.
"curl" => '', // Something like /usr/bin/curl. If empty, will be founded in PATH.
"gzip" => '', // Something like /usr/bin/gzip. If empty, will be founded in PATH.
"id" => '', // Something like /usr/bin/id. If empty, will be founded in PATH.
"stat" => '', // Something like /usr/bin/stat. If empty, will be founded in PATH.
);
// For web->rtorrent link through unix domain socket
// (scgi_local in rtorrent conf file), change variables
// above to something like this:
//
// $scgi_port = 0;
// $scgi_host = "unix:///tmp/rpc.socket";
?>
Now if I change the line
$XMLRPCMountPoint = "/RPC10"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
to
$XMLRPCMountPoint = "/RPC9"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
user 10 can now see user 9 torrents instead.
So same as above, everything else still work OK, so if user 10 loads a torrent it does load to user 10 folder but because they see user 9 torrents they dont see it added to the list in rutorrent.
When I change it back to RPC10 they see RPC1 again.
Is there a problem wih rutorrent thinking RPC10 is RPC1 or is there some other explanation?
Users 1 -9 work fine.
When user 10 logs into rutorrent they see torrents for user 1.
But all the settings are correct, (.rtorrent.rc, config.php) so if user 10 add's torrent it loads in user 10 folder (get_dir see's it as user10) and the torrent will run ok and will save to user 10 folder but the user cannot see it's succesfully loaded via rutorrent as user 10 see user 1 torrents??
The setting for ruT showing the torrents is in config.php
Here is the user10 config.php.
Code: [Select]
<?php
// configuration parameters
// for snoopy client
@define('HTTP_USER_AGENT', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9) Gecko/2008052906 Firefox/3.0', true);
@define('HTTP_TIME_OUT', 30, true); // in seconds
@define('HTTP_USE_GZIP', true, true);
@define('RPC_TIME_OUT', 5, true); // in seconds
@define('LOG_RPC_CALLS', false, true);
@define('LOG_RPC_FAULTS', true, true);
// for php
@define('PHP_USE_GZIP', false, true);
@define('PHP_GZIP_LEVEL', 2, true);
$do_diagnostic = true;
$log_file = '/tmp/error10.log'; // path to log file (comment or make empty to disable logging)
$saveUploadedTorrents = false;
$topDirectory = '/home/user10/'; // Upper available directory. Absolute path with trail slash.
$forbidUserSettings = false;
$scgi_port = 5010;
$scgi_host = "127.0.0.1";
$XMLRPCMountPoint = "/RPC10"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
$pathToExternals = array(
"php" => '', // Something like /usr/bin/php. If empty, will be founded in PATH.
"curl" => '', // Something like /usr/bin/curl. If empty, will be founded in PATH.
"gzip" => '', // Something like /usr/bin/gzip. If empty, will be founded in PATH.
"id" => '', // Something like /usr/bin/id. If empty, will be founded in PATH.
"stat" => '', // Something like /usr/bin/stat. If empty, will be founded in PATH.
);
// For web->rtorrent link through unix domain socket
// (scgi_local in rtorrent conf file), change variables
// above to something like this:
//
// $scgi_port = 0;
// $scgi_host = "unix:///tmp/rpc.socket";
?>
Now if I change the line
$XMLRPCMountPoint = "/RPC10"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
to
$XMLRPCMountPoint = "/RPC9"; // DO NOT DELETE THIS LINE!!! DO NOT COMMENT THIS LINE!!!
user 10 can now see user 9 torrents instead.
So same as above, everything else still work OK, so if user 10 loads a torrent it does load to user 10 folder but because they see user 9 torrents they dont see it added to the list in rutorrent.
When I change it back to RPC10 they see RPC1 again.
Is there a problem wih rutorrent thinking RPC10 is RPC1 or is there some other explanation?