Can't understand which permissions could be denied. Running cgi script from command line works fine.
http_proxy="" curl http://url/ -o file
curl(7): permission denied
(same issues with
EDIT (Workaround) Right now I have to partially disable SELinux to get this to work (tried twiddling all the permissions to no avail).