Installing executable files

Yury G. Kudryashov urkud at ya.ru
Thu Oct 14 23:03:36 CEST 2010


David Faure wrote:

> 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.
Why system-wide .desktop files should have executable bit? I thought that 
this bit is not required for files in XDG_DATA_DIRS.
> 
> 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?
> 




More information about the Kde-buildsystem mailing list