summaryrefslogtreecommitdiffstats
path: root/Source/cmWriteFileCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmWriteFileCommand.cxx')
-rw-r--r--Source/cmWriteFileCommand.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmWriteFileCommand.cxx b/Source/cmWriteFileCommand.cxx
index 5c5ad2e..f46b87f 100644
--- a/Source/cmWriteFileCommand.cxx
+++ b/Source/cmWriteFileCommand.cxx
@@ -60,9 +60,7 @@ bool cmWriteFileCommand
#elif defined( __BORLANDC__ )
S_IRUSR | S_IWUSR
#else
- S_IRUSR | S_IWUSR |
- S_IRGRP |
- S_IROTH
+ 0666
#endif
;
@@ -73,7 +71,7 @@ bool cmWriteFileCommand
#if defined( _MSC_VER ) || defined( __MINGW32__ )
S_IREAD | S_IWRITE
#else
- S_IRUSR | S_IWUSR
+ 0666
#endif
);
}