in reply to Cannot open files using CGI

your problem is most probably none of perl, but has to to with the file permissions on your server. for instance: on a debian box the webserver is called www-data, group www-data. if you want your cgi-scripts to open files, you should take care that they belong to the server.

language is a virus from outer space.

Replies are listed 'Best First'.
Re: Cannot open files using CGI
by b10m (Vicar) on May 29, 2005 at 11:41 UTC

    That being said, you also might run into "Security Context" problems (see chcon). It had me puzzled and cursing for quite some time (on a remote CentOS machine).

    Very tricky, for I never use "ls --scontext" to check permissions...

    --
    b10m

    All code is usually tested, but rarely trusted.