[Mono-dev] Mono.Posix question

Rob Wilkens robwilkens at gmail.com
Sun Jun 24 22:57:34 UTC 2012

According to Wikipedia, umask is supposed to work the way it's working
in bug1970...

See: http://en.wikipedia.org/wiki/Umask

If someone with authority could, closing that bugzilla report might make


On 06/22/2012 01:35 PM, David Schmitt wrote:
> On 2012-06-22 15:35, Rob Wilkens wrote:
>> Do you know where i can find documentation for Mono.Posix?
>> I was looking at the following problem report:
>> https://bugzilla.xamarin.com/show_bug.cgi?id=1970
>> And I saw that
>> Mono.Unix.UnixDirectoryInfo("1").Create(FileAccessPermissions.AllPermissions);
>> Was honoring umask, because that's what the system call for mkdir does.
>> (That is: Create() just calls mkdir with the permissions.) Should it be
>> honoring umask when it creates the directory, or should we, after the
>> call to mkdir, separately set the permissions as part of the Create call
>> (the equivalent of a call to chmod).
> My non-normative feeling is that Mono.*Posix* should also behave
> posixly[1]. So if the reporter want's[1] to chmod after mkdir he
> can[1] do so - as his report aptly demonstrates.
> Best Regards, David
> [1] I don't claim that POSIX was designed for human developers.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120624/2f49d6b8/attachment.html>

More information about the Mono-devel-list mailing list