<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">According to Wikipedia, umask is
      supposed to work the way it's working in bug1970... <br>
      <br>
      See:
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <a href="http://en.wikipedia.org/wiki/Umask">http://en.wikipedia.org/wiki/Umask</a>
      <br>
      <br>
      If someone with authority could, closing that bugzilla report
      might make sense.<br>
      <br>
      -Rob<br>
      <br>
      On 06/22/2012 01:35 PM, David Schmitt wrote:<br>
    </div>
    <blockquote cite="mid:4FE4ACC8.2020907@dasz.at" type="cite">On
      2012-06-22 15:35, Rob Wilkens wrote:
      <br>
      <blockquote type="cite">Do you know where i can find documentation
        for Mono.Posix?
        <br>
        <br>
        I was looking at the following problem report:
        <br>
        <a class="moz-txt-link-freetext" href="https://bugzilla.xamarin.com/show_bug.cgi?id=1970">https://bugzilla.xamarin.com/show_bug.cgi?id=1970</a>
        <br>
        <br>
        And I saw that
        <br>
        <br>
Mono.Unix.UnixDirectoryInfo("1").Create(FileAccessPermissions.AllPermissions);
        <br>
        <br>
        Was honoring umask, because that's what the system call for
        mkdir does.
        <br>
        (That is: Create() just calls mkdir with the permissions.)
        Should it be
        <br>
        honoring umask when it creates the directory, or should we,
        after the
        <br>
        call to mkdir, separately set the permissions as part of the
        Create call
        <br>
        (the equivalent of a call to chmod).
        <br>
      </blockquote>
      <br>
      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.
      <br>
      <br>
      <br>
      <br>
      <br>
      Best Regards, David
      <br>
      <br>
      [1] I don't claim that POSIX was designed for human developers.
      <br>
      _______________________________________________
      <br>
      Mono-devel-list mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://lists.ximian.com/mailman/listinfo/mono-devel-list">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a>
      <br>
    </blockquote>
    <br>
    <br>
  </body>
</html>