httpd-users mailing list archives

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

On Fri, 21 Feb 2003 mail.lists@shawus.com 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
it.

- -- 
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)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQE+VlXLXP03+sx4yJMRAveVAKDPuC0NynQHUTZnsT6tzEcLKW6FWgCglzYr
q85rgY4oeSAaK75VGMSI0v8=
=99Cl
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message