[kde] [Bug 377836] New: blacklist of execution of application.desktop outside ~/.local/share/application folder on system with noexec flag on /home

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Mar 20 14:47:48 GMT 2017


https://bugs.kde.org/show_bug.cgi?id=377836

            Bug ID: 377836
           Summary: blacklist of execution of application.desktop outside
                    ~/.local/share/application folder on system with
                    noexec flag on /home
           Product: kde
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: farandole at mt2015.com
  Target Milestone: ---

After kde upgrade to QT 5.8.0, launching an application from the panel icon
raises an annoying windows xp like window asking if I trust the program.

see screenshot: https://framapic.org/8acmhBU8cfoo/Kj8zD2JFwNMv.png

Clicking "continue" fails to launch the application and raises an error
"Service '/home/username/.local/share/plasma_icons/firefox.desktop' must be
executable to run."

This happens because the .desktop files are stored outside of
~/.local/share/applications/ which seems to be blacklisted for execution when
/home is mounted with noexec flag.

Bug replication:
1. mount /home with noexec flag: 
   mount -o remount,exec /home
2. click on application icon from panel

Fix:
1. move the ~/.local/share/plasma_icons directory to
~/.local/share/applications/plasma_icons: 
   mv ~/.local/share/plasma_icons ~/.local/share/applications/
2. add a symlink to the plasma_icons directory to ~/.local/share/:
   ln -s ~/.local/share/applications/plasma_icons ~/.local/share/plasma_icons

archlinux forum post for reference: 
https://bbs.archlinux.org/viewtopic.php?pid=1698141#p1698141

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list