Can someone give me the definitive answer as to the user that httpd runs as? I’ve heard it runs as me, as the group I belong to (which is like pg9999999), as nobody, and so on.
I’m trying to sort out directory and file permissions for a perl script that runs as cgi and which wants to write to a log file.
Other scripts run fine with 755, but this script appears to be having some write issues.
This is such a basic thing, yet there is a surprising amount of misinformation when you go googling for it.