Hi John, On 14-02-06 03:23 PM, John Andersen wrote:
On 2/6/2014 12:01 PM, Ted Byers wrote:
After creating /srv/www/htdocs/misc, I applied 'chrgp www /srv/www/htdocs/misc' and 'chmod 755 /srv/www/htdocs/misc'. I do not know if there is a better option. But what is critical is that Apache can serve the PDF my script has created. Is Apache running as www, or is it running as "nobody"?
In uid.conf, I see the User is set to wwwrun and the Group is www. I would assume, then, that it is running as wwwrun. Is that correct, or does that reveal my ignorance of the linux world. ;-) Does the owner and group assigned to the cgi scripts matter? They are all set to root/root, I assume because I had to sudo cp them from my working directory to /srv/www/cgi-bin. I would assume (hope) that they're executed as whatever user Apache runs as, though, and that the ownership affects only the ability to edit them, because it would be really bad if they ran as root (though it seems to be mostly working, and this machine is a workstation that is not accessible to the outside world). If that is wrong, then tell me how to fix that. Thanks Ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org