Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.10.1
-
B2Qt on raspi 3, NVidia Tegra
Description
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.
Attachments
Issue Links
- relates to
-
QTBUG-68338 Qt shouldn't create or change the permission of XDG_RUNTIME_DIR
- Closed