Web Hosting Talk







View Full Version : GT: Fileman- Cobalt package.


joubarani
01-08-2002, 06:01 PM
Hi,

I installed the fileman Cobalt package from GT: Fileman (http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=176654;sb=post_latest_reply;so=ASC;forum_view=forum_view_collapsed;guest=149778) it's working fine advice all to try it for more infoclick here (http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=176921;sb=post_latest_reply;so=ASC;forum_view=forum_view_collapsed;guest=149778) :cool:

2Grumpy
01-09-2002, 01:13 AM
Installed it, oh this is definitely a must have add-on MUST HAVE. God I just hope it doesn't have any major security flaws, I'd hate to give it up now. I've had no end of users lament they wish they had something like this!

hoot
01-09-2002, 07:47 AM
It doesn't seem to work on cobalt raq 4's ! I have installed it and I get "GT::Template (31199): Unable to create compiled template directory '/home/gossamer/fileman/templates/compiled'. Reason: Permission denied at /home/gossamer/fileman/lib/GT/FileMan.pm line 136."

Does anyone know why?

Please help ...

2Grumpy
01-09-2002, 09:05 AM
I am pretty sure I saw that mentioned on the gossamer threads forum as a problem you get if you don't log in as admin at least once.

I successfully installed it on 2 4i's and a 4r last night.

Had to make one small edit to get it to work for "normal" (non site-admin) users:

"fileman.pl" just dies on line 52 when any user except siteAdmin tries to
login. Check here:

unless ($members =~ /$ENV{REMOTE_USER}/) {
die sprintf ($GT::FileMan::Commands::LANGUAGE{COBALT_BADGROUP},
$root_dir, $ENV{REMOTE_USER});
}

If you take out this line:

die sprintf ($GT::FileMan::Commands::LANGUAGE {COBALT_BADGROUP}, $root_dir, $ENV{REMOTE_USER});

and replace it with something like

my ($user_dir) = $dir =~ m,^(/home/sites/\w+/users/$ENV{REMOTE_USER}),;
$root_dir = $user_dir;

It will now just work fine with all site users by putting users in their respective home directories if they are not site_admins. And they will not be able to access the upper level dir.

I did that and even the lowliest of user could log in and manage his personal web space.

iplexx
01-09-2002, 12:52 PM
Dixiesys,
can you post permissions and owner of the "compiled" directory please?

thanks for the patch!

2Grumpy
01-09-2002, 01:02 PM
drwxrwxrwx 2 admin admin 1024 Jan 8 23:02 compiled

hoot
01-09-2002, 04:25 PM
Thanks it started working after a bit. I guess I just didn't wait long enough. But there is still a problem !
When I click on protect I get :
"Unable to open: /home/sites/site11/web/.htpasswd (No such file or directory) at (eval 3) line 14."
Does this mean that you have to manually add a .htpasswd to each site so that they can password protect a file?


Thanks, Hoot

joubarani
01-09-2002, 08:49 PM
You can't protect "/web" directory use it in "/web/anydir" directory.;)

hoot
01-09-2002, 09:14 PM
I Know that it wasn't a web directory I was trying to fix ! It actually turns out that the pkg should have placed an empty .httpasswd file in each /web directory for it to work ! But now they have fixed it and they say that the new fixed version is coming out tonight !

Hoot

2Grumpy
01-09-2002, 11:09 PM
Hope it'll upgrade those of us who jumped on it right away :D

hoot
01-10-2002, 06:47 AM
Yes they told me it would

hoot
01-10-2002, 09:11 AM
They seem to have put the second version for download but I've tried installing it and it just says "package already installed so either I will have to find out how to uninstall it or I will have to wait for them to fix the pkg !
I have mailed them again and waiting for answer.

Does anyone know how you edit a .pkg file ? Do you have to do it on linux?

Hoot

windchill
01-10-2002, 09:18 AM
A Cobalt pkg is just a regular tarball consisting of a few RPMs and an installer/uninstaller script.

You can rename the pkg to something with tar.gz extension and then just "tar xvfz something.tar.gz" and you will see
exactly what is in the package and what it does during installation.

hth
Marc

joubarani
01-10-2002, 12:34 PM
I can add remove users. and protected directories fine no problem!

hoot
01-10-2002, 02:13 PM
Which version did you install? yesterdays or todays?
Can you do it on sites that have never had a version of fileman installed on them and without addmin a file called .htpasswd ?

Hoot

joubarani
01-10-2002, 04:05 PM
I installed the ferst version.
Can you do it on sites that have never had a version of fileman installed on them and without addmin a file called .htpasswd ?
Yes I can. :cool:

hoot
01-10-2002, 04:13 PM
Well I don't know what went wrong with my one then ! But they seemed to already have had the problem as they replyed saying that they had changed the protection process in the new version !

joubarani
01-10-2002, 04:58 PM
Just Note:

I Increased the (Multiple Upload) command from "10" files to "30" by editing the "/home/gossamer/fileman/templates/multi_upload.html" and "/home/gossamer/fileman/lib/GT/FileMan/Commands.pm" :)

hoot
01-10-2002, 05:55 PM
Originally posted by hoot
They seem to have put the second version for download but I've tried installing it and it just says "package already installed so either I will have to find out how to uninstall it or I will have to wait for them to fix the pkg !
I have mailed them again and waiting for answer.

Does anyone know how you edit a .pkg file ? Do you have to do it on linux?

Hoot

Has anyone else had the same problem as me?????

Can someone tell me how to uninstall it? (I should have waited !)

hoot

hoot
01-10-2002, 08:19 PM
I am simply amaized by their god service ! They have just sent me a .pkg file that replaced the first version by it self and put a new version with a different protect system that works ! I think that they will soon put it for download but if you are rearley impatient try E.mailing them.

Hoot

2Grumpy
01-10-2002, 08:23 PM
Originally posted by hoot
I am simply amaized by their god service ! They have just sent me a .pkg file that replaced the first version by it self and put a new version with a different protect system that works ! I think that they will soon put it for download but if you are rearley impatient try E.mailing them.

Hoot

Argh you're gonna make me look up the email address? How could you!! :bawling:

hoot
01-11-2002, 04:36 AM
Just go to http://gossamer-threads.com/cobalt/ and download again to see if its the new version they should give you an e.mail adress too.

2Grumpy
01-11-2002, 04:46 AM
It's the same version I think as I got already 2.0.0 surely if he repackaged he'd have made it 2.0.1??

hoot
01-11-2002, 04:54 AM
Nope the one he sent me was also 2.0.0 and up till 5 minutes ago I thought that it had fixed my problem but ...
I had taken it for granted that it worked for all sites but so far I can only get it to work with the admins one now ! And as well as this I was sure that before with the admin user and pass you could see the domain that you entered in your url now it just opens the admins one !

I'm going to contact them again !

hoot

hoot
01-11-2002, 05:00 AM
He's just answered he says that the error I was getting was actually because I just needed to change the chmod of the file to 666 or 777,
I'll let you know if it works,

hoot

hoot
01-11-2002, 05:10 AM
Well I changed the chmod ....
But now a get a new error that says that I have got a file missing ! (even though I can see that the file is there !)

hoot

hoot
01-11-2002, 05:40 AM
I made a mistake while setting the chmod it actually works now.
Install the new package (if its not the new one it will just say "package already installed " then test it with a different username than your admin one. If if gives off an error something like file not writable in 'home/gossamer/fileman/templates/compiled' then enter telnet su the root then type "cd home/gossamer/fileman/templates"
then type "chmod 666 compiled" and it should work !

hoot

windchill
01-11-2002, 08:55 AM
I have not yet installed this package.

I'm however wondering how this fileman package would interfere with sites that have frontpage extensions enabled...

Marc

hoot
01-11-2002, 09:24 AM
I don't think that it should intefere as it just seems to have a symbolic link to where the central program is installed. If it is about the webalizer problem that you are thinking about I think that webalizer actually stored the stats in the /web directory where as this program seems to not have any in the /web directory ! But I'm not an expert though !

Hoot

windchill
01-11-2002, 10:58 AM
What i'm concerned about is, if users start to create custom .htaccess/.htpasswd files and changing file permissions.

This could break frontpage extensions, I think.

Marc

hoot
01-11-2002, 11:07 AM
Quite possible, I hate frontpage ! It should be banned ! It shouldn't be that hard to make it compatible with normal ftp, they should forget all that webmaster username etc ... !