Hi all,

I couldn't find much information either on Google or the Wiki or elswhere,
so I post my questions here.

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.

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.
I wonder why CMake sets the permissions explicitly to 644 here. Is this a
bug or done intentionally?

Greetings,
Johannes Felten
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to