On 13 January 2012 11:30, David Cole <david.c...@kitware.com> wrote: > On Fri, Jan 13, 2012 at 5:48 AM, Mateusz Loskot <mate...@loskot.net> wrote: >> >> A friend of mine has asked me to confirm if there may be a bug in CMake >> related to file permissions on Unix. Here is the story: >> >> There are some files under CMakeFiles/ directory owned by "root" >> and not overridable by "strk" (non-root user). >> >> Having such setup results in a pretty funny behaviour: >> you do can run "make" but the progress widget always >> reports the same percentage. I was at 83% from start >> to finish. Pretty puzzling :) >> >> The above was with cmake version 2.8.1. >> >> Could any one point where is the problem? >> CMake misuse or bug indeed? > > > Sounds to me like somebody ran cmake as root, and then ran it again as > non-root... Choose non-root and be consistent. There's absolutely no > reason to run cmake as root, ever. > > I don't think there's a CMake bug here, but if you can come up with > steps to reproduce the problem without running CMake as root, then > we'll investigate further.
David & Daniel, thanks! I'll confirm with my friend and follow-up if needed. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net -- 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