[Mono-list] File umask
Peter Hagen
peter at wingsofdeath.nu
Mon Jul 21 05:05:35 EDT 2008
ow. I didnt know that existed. But, shouldn't it be:
MonoUnixUMask 0720
cheers
Peter Hagen
info at wingsofdeath.nu
www.wingsofdeath.nu
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-----
>
> Regards,
> Albert Ritmeester
>
>
> 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.
> >
>
More information about the Mono-list
mailing list