diff options
author | Alexander Volkov <avolkov@astralinux.ru> | 2020-11-18 15:05:20 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2020-12-31 18:12:56 +0300 |
commit | a4a8ab2c38563bc8ed9fbb651305df94787e645e (patch) | |
tree | 5585c4591a3d78744d61aee9206780f1a7bd60a8 /LICENSE.LGPL3 | |
parent | f4caf0d0e5c4932055d0475559a52c85b66635b5 (diff) |
QStandardPaths: Don't change permissions of XDG_RUNTIME_DIR
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."
At the same time the spec states about XDG_RUNTIME_DIR that
"its Unix access mode MUST be 0700", so don't consider the
directory with wrong permissions correct and use a fallback.
Task-number: QTBUG-68338
Change-Id: I03c6b35b3f7d5ceb8e6326695bfc8207da92ea67
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: David Faure <david.faure@kdab.com>
(cherry picked from commit 68de00e0d4f2c574162a6e033d41786e3757d25d)
Diffstat (limited to 'LICENSE.LGPL3')
0 files changed, 0 insertions, 0 deletions