After posting on the libaprq list i learned this:
"libaprq has the file permissions hardcoded to 0600 and ignores the user's umask"
chmod is in order.
On Mar 18, 2005, at 12:20 AM, jonathan vanasco wrote:
Just setting a simple umask did do the trick for 90% of my needs
I'm stuck on one issue though --
$req = Apache::Request->new($r); $upload = $req->upload("foo"); $upload->link('/path/to/file');
no matter what or when I set the umask, file permissions are unix 600
I say 'when', because I have tried setting the umask when i call the link, on the customer handler, and on the startup.pl script that httpd.conf calls to preload modules (i kept adding umasks at different points to see if it needed to be set before the module got called for the first time)
Does anyone have a suggestion?