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

[B2Qt] incorrect directory used for XDG_RUNTIME_DIR

XMLWordPrintable

      In /etc/appcontroller.conf is set to env=XDG_RUNTIME_DIR=/tmp and when ever a Qt application is started it changes the ownership of /tmp directory from 777 to 700.
      https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/io/qstandardpaths_unix.cpp#n163 is changing the permission.
      Qt probably shouldn't change permission of standard directories, just print a warning.

      From specifications:

      $XDG_RUNTIME_DIR defines the base directory relative to which user-specific non-essential runtime files and other file objects (such as sockets, named pipes, ...) should be stored. The directory MUST be owned by the user, and he MUST be the only one having read and write access to it. Its Unix access mode MUST be 0700.

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

            sapiippo Samuli Piippo
            karimpinter Karim Pinter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes