Author: dick
Date: 2007-12-05 08:50:28 -0500 (Wed, 05 Dec 2007)
New Revision: 90766

Modified:
   trunk/mono/mono/io-layer/ChangeLog
   trunk/mono/mono/io-layer/io.c
Log:

2007-12-05  Dick Porter  <[EMAIL PROTECTED]>

        * io.c (CreateFile): Create files with mode 0666 (&~umask) by
        default.  Fixes bugs 325299 and 337040.




Modified: trunk/mono/mono/io-layer/ChangeLog
===================================================================
--- trunk/mono/mono/io-layer/ChangeLog  2007-12-05 13:31:35 UTC (rev 90765)
+++ trunk/mono/mono/io-layer/ChangeLog  2007-12-05 13:50:28 UTC (rev 90766)
@@ -1,3 +1,8 @@
+2007-12-05  Dick Porter  <[EMAIL PROTECTED]>
+
+       * io.c (CreateFile): Create files with mode 0666 (&~umask) by
+       default.  Fixes bugs 325299 and 337040.
+
 2007-11-22  Dick Porter  <[EMAIL PROTECTED]>
 
        * critical-sections.h (EnterCriticalSection): Reinstate the

Modified: trunk/mono/mono/io-layer/io.c
===================================================================
--- trunk/mono/mono/io-layer/io.c       2007-12-05 13:31:35 UTC (rev 90765)
+++ trunk/mono/mono/io-layer/io.c       2007-12-05 13:50:28 UTC (rev 90766)
@@ -1514,7 +1514,7 @@
         * other code, perms instead are the on-disk permissions and
         * this is a sane default.
         */
-       mode_t perms=0644;
+       mode_t perms=0666;
        gchar *filename;
        int fd, ret;
        int handle_type;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to