title: Keep a single file's permissions when using install() in CMake
body: <p>In KDE, I adjusted a macro to compile and install Python files, but I'm having problem with it keeping the files' permissions.</p>
  
  <p>To be more clear, the offendling line in the macro is</p>
  
  <pre><code>install(FILES ${SOURCE_FILE} DESTINATION ${DESTINATION_DIR})
  </code></pre>
  
  <p>which works for 99% of the cases.</p>
  
  <p>In one case, though I have a Python file marked as executable (+x, I'm talking about Linux here) in the source directory, which then is symlinked to the installation's binary dir. Since install() does not preserve permissions, the execute bit is stripped from it, and this causes all sorts of problems later on.</p>
  
  <p>Is it possible to keep the file's permissions, or to read them and set them accordingly? I would hate to use a manual <code>chmod</code> command since it's not portable.</p>
  
  <p>EDIT: I do not want to make all files installed by this macro executable, as this would be pointless.</p>