[Mono-list] File umask
Albert Ritmeester
aritmeester at gmail.com
Mon Jul 21 05:09:55 EDT 2008
Nope, a umask is a mask like an IP subnet mask. So the umask is correct.
But it seems (mod)mono doesn't adhere to that setting :-((
Regard,
Albert
Peter Hagen wrote:
>
> ow. I didnt know that existed. But, shouldn't it be:
> MonoUnixUMask 0720
>
> On Mon, 2008-07-21 at 01:59 -0700, Albert Ritmeester wrote:
>> That could be a solution but I do not want to set the file rights
>> programmaticaly. In my VirtualHost section in my Apache config file I
>> have
>> the following line;
>> MonoUnixUmask 0027
>>
>> So the file mask should be -rw-r-----
>> Peter Hagen wrote:
>> >
>> > you should check out the Mono.Posix assembly. Or you can do a "chmod
>> > 775 ..." with a process object.
>> >
>> > On Mon, 2008-07-21 at 10:40 +0200, Albert Ritmeester wrote:
>> >> From my code I'm writing a XML file to the system. Unfortunately, the
>> >> file rigths are set to -rw------
>> >> I want the file te be readable by the group also. We are running mono
>> >> 1.9.1 with mod-mono-server2 1.2.5.
>
--
View this message in context: http://www.nabble.com/File-umask-tp18564389p18564804.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list