[ic] Permissions problem.

Murray Gibbins interchange-users@lists.akopia.com
Fri Jun 8 11:00:01 2001


> "Gustavo A. Barreto A." wrote:
> 
> Hello, I just installed Interchange, and a few days after that my primary boot
> disk crashed. I restored a backup in a new disk and the system is now working
> but Interchange doesn't works. I think this could be a permissions problem.
> When I try to create a new catalog I get the foloowing errors:
> 
> *** We will be making a catalog named 'construct'. ***
> 
> glob failed (child exited with status 2) at ./bin/makecat line 331.
> glob failed (child exited with status 2) at ./bin/makecat line 331.
> glob failed (child exited with status 2) at ./bin/makecat line 331.
the cod that fails here is ....

        for(    glob("$ENV{HOME}/*html*"),
                        glob("$ENV{HOME}/*www*"),
                        glob("$ENV{HOME}/*web*")
                )




> glob failed (child exited with status 2) at ./bin/makecat line 341.
> glob failed (child exited with status 2) at ./bin/makecat line 341.
> glob failed (child exited with status 2) at ./bin/makecat line 341.
> glob failed (child exited with status 2) at ./bin/makecat line 341.
> glob failed (child exited with status 2) at ./bin/makecat line 341.
> glob failed (child exited with status 2) at ./bin/makecat line 341.

here it's ....
        for(
                 '/home/httpd/html',
                 '/var/www/html',
                 '/usr/local/etc/httpd/htdocs',
                 '/usr/local/apache/htdocs',
                 '/home/httpd/htdocs',
                 glob("/*/httpd/*docs"),
                 glob("/*web*/*docs"),
                 glob("/*/ns-home/docs"),
                 glob("/export/*/ns-home/http*/docs"),
                 glob("/usr/*/ns-home/http*/docs"),
                 glob("/home/*/ns-home/http*/docs")
                )



> glob failed (child exited with status 2) at ./bin/makecat line 372.
> glob failed (child exited with status 2) at ./bin/makecat line 372.

        for( glob("$ENV{HOME}/*cgi*"), glob("$ENV{HOME}/*scripts*") ) {
                -d $_ and -w _
                        and $CgiDefault = $_
                        and ($CgiUrlDefault = $_) =~ s:.*/:/:
                and last FINDCGIDIR;
        }



> glob failed (child exited with status 2) at ./bin/makecat line 379.
> glob failed (child exited with status 2) at ./bin/makecat line 379.
> glob failed (child exited with status 2) at ./bin/makecat line 379.
> glob failed (child exited with status 2) at ./bin/makecat line 379.
> glob failed (child exited with status 2) at ./bin/makecat line 379.

and here ...

        for(
                         '/home/httpd/cgi-bin',
                         '/var/www/cgi-bin',
                         '/usr/local/etc/httpd/cgi-bin',
                         '/usr/local/apache/cgi-bin',
                         glob("/*web*/cgi*"),
                         glob("/*/ns-home/cgi*"),
                         glob("/export/*/ns-home/http*/cgi*"),
                         glob("/usr/*/ns-home/http*/cgi*"),
                         glob("/home/*/ns-home/http*/cgi*"),
                )


that should help you.

-- 
  ____
  \__/    Murray Gibbins             murray@scotweb.ltd.uk
  /  \    Programmer
_ \__/ _  ================================================
\\ || //  Scotweb Limited,             info@scotweb.ltd.uk
 \\||//   13a Albert Terrace,    http://www.scotweb.ltd.uk
  \||/    Edinburgh EH10 5EA   Tel: +44 (0)  131 270 82 33
   ||     Scotland. Europe.    Fax: +44 (0) 7020  93 49 04