Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-58508

qmlcache: apps need execution rights in cache dir at every startup

    XMLWordPrintable

Details

    Description

      sddm-greeter needs execution rights at /var/lib/sddm/.cache/sddm-greeter/qmlcache/*.qmlc

      krunner needs execution at /home/user/.cache/krunner/qmlcache/*.qmlc

      It breaks when /var and /home partitions are mounted with noexec flag which is often used on hardened setups or Trusted Path Execution available on hardened linux kernels.

      As for now it could be fixed by disabling qml cache by setting QML_DISABLE_DISK_CACHE=1 environment variable.

      Is there a chance that qt will check permission rights first then quietly disable qmlcache per app instead of crashing?

      Alternatively it could create cachedir somewhere in /usr/lib/qt same as python3 have it's pycache dir.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              shausman Simon Hausmann
              jirauser43401 user-b174c (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes