[Mono-list] File umask

Albert Ritmeester aritmeester at gmail.com
Mon Jul 21 04:59:28 EDT 2008


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.
> 

-- 
View this message in context: http://www.nabble.com/File-umask-tp18564389p18564666.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list