[Mono-list] Permissions of files created by a webservice
Robert Jordan
robertj at gmx.net
Wed May 26 09:12:38 EDT 2010
On 26.05.2010 14:53, Mathias Tausig wrote:
> Am 26.05.2010 13:49, schrieb Robert Jordan:
>> On 26.05.2010 13:44, Mathias Tausig wrote:
>>> Am 26.05.2010 12:18, schrieb Mathias Tausig:
>>>> I would need to alter these permissions, but I am afraid I don't have a
>>>> clue, where to look at. I am not even sure, if that't really a mono
>>>> problem or an apache setting.
>>>
>>> I dug a bit deeper in the meanwhile, and found out, that it is a mono
>>> and not an apache issue. The umask of the mono process started by apache
>>> has an umask of 077. How can I change it?
>>
>> Assuming you're using mod_mono:
>>
>> MonoUnixUmask 0022
>>
>
> Thanks for the tip. I tried it, but this directive doesn't do anything.
> It doesn't even complain if I enter a bogus value (like 999999 instead
> of 0002) for the umask. Here is my VirtualHost configuration:
>
> <IfDefine SSL>
> <IfDefine !NOSSL>
> <VirtualHost *:8080>
> ServerName localhost
> ServerAdmin web-admin at localhost
> DocumentRoot /etc/zert/htdocs/
> MonoUnixUmask 0002
> MonoServerPath localhost "/usr/bin/mod-mono-server2"
MonoUnixUmask localhost 0002
The other syntax is for the 'default' application.
Robert
More information about the Mono-list
mailing list