Installing executable files

David Faure faure at kde.org
Thu Oct 14 21:29:22 CEST 2010


Recently I made all application .desktop files executable in trunk.
But at install time, the permissions are not copied over, so the files don't 
end up being executable.

How can this be fixed?

The CMakeLists.txt says
install(FILES kwrite.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
but I'd rather not have to change all CMakeLists.txt files...
Can install(FILES) be fixed to copy the executable bit over, or is this a bad 
idea for other reasons?

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).


More information about the Kde-buildsystem mailing list