Whoops - I take it back. I see that it IS there in the 2.8 online docs, as a separate file(&lt;COPY|INSTALL&gt; entry as you said. Not terribly clear IMHO, but anyway. So I guess this is a new 2.8 feature (it really truly isn&#39;t there in 2.6.4).<br>
<br>Ceej<br>aka Chris Hillery<br><br><div class="gmail_quote">On Wed, Feb 3, 2010 at 3:04 AM, Chris Hillery <span dir="ltr">&lt;<a href="mailto:chillery-cmake@lambda.nu">chillery-cmake@lambda.nu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You probably didn&#39;t grep the man-page thoroughly ;-) It is documented as &quot;file(&lt;COPY|INSTALL&gt;&quot;<br>

</blockquote></div><br></div>I did, actually! It ain&#39;t there on the online manual:<br><br><a href="http://www.cmake.org/cmake/help/cmake2.6docs.html#command:file" target="_blank">http://www.cmake.org/cmake/help/cmake2.6docs.html#command:file</a><br>

<br>Moreover, your script doesn&#39;t work here with CMake 2.6.4. Maybe it was added in CMake 2.8? I don&#39;t have that available for testing, but it&#39;s not in the online documentation for 2.8 either:<br><br><a href="http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:file" target="_blank">http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:file</a><br>

<br>I&#39;m glad it&#39;s apparently been added, but I guess it must be a very new thing!<br><br>So, tell me - are there any other features for generically modifying file permissions without copying the file?<br><br>Ceej<br>

aka Chris Hillery<br>
</blockquote></div><br>