[Mono-list] File umask
aritmeester at gmail.com
Wed Jul 23 08:36:17 EDT 2008
Has anyone some help on this?
On Mon, Jul 21, 2008 at 11:09, Albert Ritmeester <aritmeester at gmail.com>
> 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 :-((
> 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:
> Sent from the Mono - General mailing list archive at Nabble.com.
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list