in reply to Re: Re: running cgi as user other than nobody
in thread running cgi as user other than nobody

well if you can't chmod the file within the same script then I'd say you're overlooking something (hard to say without looking at the code). I've never actually seen an instance where something like this doesn't work:
... open(FILE, ">$file") || die $!; ... [stuff] close(FILE); chmod 0666 $file;
Opening the file later might still be another issue...