File: remove-executable-flag-from-desktop-files

package info (click to toggle)
knewstuff 5.116.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 29,148 kB
  • sloc: cpp: 15,991; xml: 132; sh: 65; makefile: 11
file content (22 lines) | stat: -rw-r--r-- 945 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Don’t set executable bit for installed desktop files
 Upstream added the executable bit to installed desktop file with
 the justification that otherwise the files cannot be run when
 not installed as root.
 .
 For the Debian package all files are installed as root so this
 patch disables setting the executable flag for these desktop files.
 .
 See https://invent.kde.org/frameworks/knewstuff/-/commit/b74815f570eb93e93fe6aa4e930465c1b047b922
Author: Aurélien COUDERC <coucouf@debian.org>

--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -6,7 +6,7 @@
     kmoretools-desktopfiles/
     DESTINATION ${KDE_INSTALL_DATADIR_KF}/kmoretools/presets-kmoretools
     FILES_MATCHING PATTERN "*.desktop"
-    PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
+    PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ
     )
 
 # install other files like icons, skip .sh helpers