Re: Specifying File Permissions for Apache/MP2 created files

[prev] [thread] [next] [Date index for 2005/03/18]

From: Jonathan Vanasco
Subject: Re: Specifying File Permissions for Apache/MP2 created files
Date: 21:03 on 18 Mar 2005
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?

Re: Specifying File Permissions for Apache/MP2 created files
Jonathan Vanasco 21:03 on 18 Mar 2005

Generated at 11:30 on 21 Mar 2005 by mariachi v0.52