in reply to running cgi as user other than nobody

emilford,

I have used the setuid (chmod 4755) method extensively with Perl scripts, so not sure where you read that it wouldn't work. One caveat is that a properly configured *nix system will reset the s-bit anytime the file is modified (e.g. you upload an improved version), so you have to specifically re-chmod it everytime you make an update. This is a security feature.

I need to have my script create files that are editable by both my username and the username nobody.

On a slightly pedantic note that might have been overlooked, if you run your script setuid, then the script is running as you, not "nobody". And that is probably what you're looking for, since the point is that you want your scripts to be able to modify the files, and still be able to login via Telnet/SSH/FTP/whatever and modify them.

Hope this helps... Jon