Gossamer Forum
Quote Reply
Re: User cgi directory? In reply to
It's a good idea in the pre_install function in your Install.pm to check to see if the directory is writeable. You can do something:

if (! -w "$CFG->{admin_root_path}/../") {
$error .= "We are not able to write to your user cgi directory. Please set permissions to 777 temporairly so that installation can proceed.";
}
return $error;

Or somehow put the error notice into preinstall so the user can fix it before the installation.

Cheers,

Alex

--
Gossamer Threads Inc.
Subject Author Views Date
Thread User cgi directory? AlexJ 2748 Mar 4, 2001, 5:04 AM
Thread Re: User cgi directory?
pugdog 2661 Mar 4, 2001, 6:51 AM
Thread Re: User cgi directory?
AlexJ 2658 Mar 4, 2001, 9:42 AM
Thread Re: User cgi directory?
Alex 2651 Mar 4, 2001, 4:04 PM
Post Re: User cgi directory?
AlexJ 2626 Mar 5, 2001, 7:36 AM