<div class="gmail_quote">Hi all,<br><br>I couldn't find much information either on Google or the Wiki or elswhere, so I post my questions here.<br><br>We are using Cmake under Linux and have experienced some difficulties with CMake due to the multi-user-environment in Linux. In one run, CMake generates files with different file-permissions, eg. in $CMAKE_CURRENT_BINARY_DIR/CMakeFiles a file 'progress.make' with group-permissions set to ReadOnly, whereas a file 'Makefile.cmake' with group-permissions set to ReadWrite. This makes it impossible to have User A to configure and run make, and another User B to run re-configure, even if both users are within the same group of users.<br>
<br>I took a look at the CMake 2.8.0 sourcecode and tracked it down to Source/kwsys/ProcessUNIX.c in function kwsysProcessSetupOutputPipeFile I believe.<br>I wonder why CMake sets the permissions explicitly to 644 here. Is this a bug or done intentionally?<br>
<br>Greetings,<br><font color="#888888">Johannes Felten<br>
</font></div><br>