httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <>
Subject Re: [users@httpd] Weird Apache Problem
Date Fri, 21 Feb 2003 16:37:25 GMT
Hash: SHA1

On Fri, 21 Feb 2003 wrote:

> Hi!
> We recently installed Apache on a webserver using the Apache Toolbox. When
> users try to run some cgi scripts, they get errors. Looking at the files that

It is helpful, when you say that something gets errors, to mention what
those errors are. That would go a long way towards helping you. Remember
that the errors from the error log, not the browser, are what is useful.

> are created when this happens, we see that new files are written with
> ownership of nobody.nobody (this makes sense), but with permissions written
> as "-r--r--r--". Of course, this means that anyone can read the file, but no
> one (not even nobody) can write to the file. Is this a permission problem in
> Apache? If so, can someone point me in the right direction? Not sure where to
> look on this one.

Are you refering to files that are created by your CGI program? If so,
then the permissions on that file will depend on the umask of the
directory in question, not on Apache or other considerations. So, no,
this is not a permission problem in Apache, but in your file system. You
can either change the umask on the directory, or you can, in your cgi
program, explicitly change the permissions on the file after you create

- -- 
And everyone said, "If we only live,
We too will go to sea in a Sieve -
To the hills of the Chankly Bore!"
 (The Jumblies, by Edward Lear)
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message