Gossamer Forum
Home : Products : Others : Fileman :

about FILEMAN

Quote Reply
about FILEMAN
hi~
Who can help me ?

I set the FILEMAN like this:

mode A:
%config = (
root_dir => '/data1/hypermart.net/cgi',
logfile => '/data1/hypermart.net/test/fileman.log',
password_dir => '/data1/hypermart.net/test',
root_url => 'http://cgi.hypermart.net',
script_url => 'http://test.hypermart.net/fileman.cgi',
icondir_url => 'http://test.hypermart.net',
use_flock => 1,
allowed_space => 500000000,
max_upload => 2000,
show_size => 1,
show_date => 1,
show_perm => 1,
show_icon => 1,
show_pass => 1,
version => '1.0'
);

ID of the "cgi" and "test" is the same server,
but i can't edit all files in the '/data1/hypermart.net/cgi'
,WHY?

Always show me
CGI ERROR
==========================================
Error Message : Can't open dir: '/data1/hypermart.net/cgi'
Reason: Permission denied
Script Location : /data1/hypermart.net/test/fileman.cgi
Perl Version : 5.00503

IF I change the %config to like this:

mode B:
%config = (
root_dir => '/data1/hypermart.net/test',
logfile => '/data1/hypermart.net/test/fileman.log',
password_dir => '/data1/hypermart.net/test',
root_url => 'http://test.hypermart.net',
script_url => 'http://test.hypermart.net/fileman.cgi',
icondir_url => 'http://test.hypermart.net',
use_flock => 1,
allowed_space => 500000000,
max_upload => 2000,
show_size => 1,
show_date => 1,
show_perm => 1,
show_icon => 1,
show_pass => 1,
version => '1.0'
);

It work ok!

My problem is:
How to let it can work like i set mode A:
Who can help me to modify the FILEMAN.cgi can work at
mode A:

PS:My english is not good enough,so...sorry

Quote Reply
Re: about FILEMAN In reply to
Hi,

Looks like you have set the permissions incorrectly on the directory you're trying to edit files in.

Adrian

Quote Reply
Re: about FILEMAN In reply to
>>you have set the permissions incorrectly on the directory

I know la.
But the "test" and "cgi" account is on the same server,and
"test" account is my, "cgi" account isn't my,so i cann't use FTP tools change its permissions

If i just want to set the permissions on the directory by FILEMAN.cgi,I want not use FTP tools like CuteFTP,Can you tell me how to modify the FILEMAN.cgi and let it work correct as i want.

Quote Reply
Re: about FILEMAN In reply to
I know a person can do it as i sad,,but he don't teach me!
Can you help me do that or help me modify the FILEMAN.cgi