[REBOL] Re: Can't Open file for Read in CGI/Absolute file path
From: joel:neely:fedex at: 15-Apr-2002 13:17
Hi, Tim,
Tim Johnson wrote:
> * Petr Krenzelok <[petr--krenzelok--trz--cz]> [020415 01:50]:
> > Tim Johnson wrote:
> >
> > >Hello All:
> > >
> > > I have a CGI program that evaluates the following:
> > > print read/lines %/home/tim/.bashrc
> > >
> > > And I get the following error message:
> > > Cannot open /home/tim/.bashrc
> > >
>
> > What about access rights? Your Apache is running in Nobody
> > mode, maybe you set incorrect rights to your file so it is
> > not visible to CGI script?
>
> Same access rights as any other file I'm doing I/O with in CGI.
>
World readable?
-jn-
--
; Joel Neely joeldotneelyatfedexdotcom
REBOL [] do [ do func [s] [ foreach [a b] s [prin b] ] sort/skip
do function [s] [t] [ t: "" foreach [a b] s [repend t [b a]] t ] {
| e s m!zauafBpcvekexEohthjJakwLrngohOqrlryRnsctdtiub} 2 ]