I'm having problems with this plugin in both svn rutorrent and 3.3 stable
Code:
[16.11.2011 19:49:26] WebUI started.
[16.11.2011 19:49:27] FILE MANAGER: Failed to get directory contents : /
[16.11.2011 19:49:27] FILE MANAGER ignited
I'm using FreeBSD 8.2 amd64
I have set my filemanager/config.php
Code:
<?php
$fm['tempdir'] = '/tmp'; // path were to store temporary data ; must be writable
$fm['mkdperm'] = 775; // default permission to set to new created directories
// set with fullpath to binary or leave empty
$pathToExternals['rar'] = '/usr/local/bin/rar';
$pathToExternals['zip'] = '/usr/local/bin/zip';
$pathToExternals['unzip'] = '/usr/local/bin/unzip';
$pathToExternals['tar'] = '/usr/bin/tar';
// archive mangling, see archiver man page before editing
$fm['archive']['types'] = array('rar', 'zip', 'tar', 'gzip', 'bzip');
$fm['archive']['compress'][0] = range(0, 5);
$fm['archive']['compress'][1] = array('-0', '-1', '-9');
$fm['archive']['compress'][2] = $fm['archive']['compress'][3] = $fm['archive']['compress'][4] = array(0);
?>
I've also added the correct path to filemanger/scripts/* because bash is at /usr/local/bin/bash
Code: [Select]
head -n 1 *
==> archive <==
#!/usr/local/bin/bash
==> cp <==
#!/usr/local/bin/bash
==> extract <==
#!/usr/local/bin/bash
==> mv <==
#!/usr/local/bin/bash
==> rm <==
#!/usr/local/bin/bash
Any suggestions?
Code:
[16.11.2011 19:49:26] WebUI started.
[16.11.2011 19:49:27] FILE MANAGER: Failed to get directory contents : /
[16.11.2011 19:49:27] FILE MANAGER ignited
I'm using FreeBSD 8.2 amd64
I have set my filemanager/config.php
Code:
<?php
$fm['tempdir'] = '/tmp'; // path were to store temporary data ; must be writable
$fm['mkdperm'] = 775; // default permission to set to new created directories
// set with fullpath to binary or leave empty
$pathToExternals['rar'] = '/usr/local/bin/rar';
$pathToExternals['zip'] = '/usr/local/bin/zip';
$pathToExternals['unzip'] = '/usr/local/bin/unzip';
$pathToExternals['tar'] = '/usr/bin/tar';
// archive mangling, see archiver man page before editing
$fm['archive']['types'] = array('rar', 'zip', 'tar', 'gzip', 'bzip');
$fm['archive']['compress'][0] = range(0, 5);
$fm['archive']['compress'][1] = array('-0', '-1', '-9');
$fm['archive']['compress'][2] = $fm['archive']['compress'][3] = $fm['archive']['compress'][4] = array(0);
?>
I've also added the correct path to filemanger/scripts/* because bash is at /usr/local/bin/bash
Code: [Select]
head -n 1 *
==> archive <==
#!/usr/local/bin/bash
==> cp <==
#!/usr/local/bin/bash
==> extract <==
#!/usr/local/bin/bash
==> mv <==
#!/usr/local/bin/bash
==> rm <==
#!/usr/local/bin/bash
Any suggestions?