summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.cpp
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2019-03-20 15:39:59 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2019-10-12 08:57:35 +0300
commit55427858e3f9d98dc7a75638c54a4fffde6be73a (patch)
tree5c59cbc5a33909e940584b5a3487c6b096ffd7af /src/corelib/global/qglobal.cpp
parent2e12825b0b4457d709d6d467c84f30ce35336ff3 (diff)
QStandardPaths: Correct handling for XDG_RUNTIME_DIR
Always try to create the runtime directory and never change the permissions of an existing directory. Conform to the XDG Base Directory Specification: "If, when attempting to write a file, the destination directory is non-existent an attempt should be made to create it with permission 0700. If the destination directory exists already the permissions should not be changed." Fixes: QTBUG-68338 Change-Id: Iaf854d69225fc46e43abae86232d749e5c247df0 Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
0 files changed, 0 insertions, 0 deletions