[Mono-list] File umask

Albert Ritmeester aritmeester at gmail.com
Wed Jul 23 08:36:17 EDT 2008


Has anyone some help on this?

Regards,
Albert Ritmeester

On Mon, Jul 21, 2008 at 11:09, Albert Ritmeester <aritmeester at gmail.com>
wrote:

>
> 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.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080723/4be8e4b3/attachment.html 


More information about the Mono-list mailing list