Exactly, QFile.permissions() returns Qt-format permissions flags, which should not be mixed with UNIX permissions. What I printed out is the same QStandardPaths is having, and both are in Qt format. It's a coincidence that User RWX is the same as UNIX flags :)
I filed a bug for QStandardPaths, meanwhile we can have the workaround in the last MR.
Exactly, QFile.permissions() returns Qt-format permissions flags, which should not be mixed with UNIX permissions. What I printed out is the same QStandardPaths is having, and both are in Qt format. It's a coincidence that User RWX is the same as UNIX flags :)
I filed a bug for QStandardPaths, meanwhile we can have the workaround in the last MR.