File qt-5.12.12-disable-wrong-permission-check.patch of Package mingw64-libqt5-qtbase
--- qtbase-everywhere-src-5.12.12/src/corelib/io/qstandardpaths_unix.cpp.orig 2022-07-05 16:02:09.281176582 +0200
+++ qtbase-everywhere-src-5.12.12/src/corelib/io/qstandardpaths_unix.cpp 2022-07-05 16:03:22.036994773 +0200
@@ -166,6 +166,7 @@
return false;
}
+#ifndef Q_OS_WIN
// "and he MUST be the only one having read and write access to it. Its Unix access mode MUST be 0700."
if (metaData.permissions() != wantedPerms) {
qWarning("QStandardPaths: wrong permissions on runtime directory %ls, %s instead of %s",
@@ -174,6 +175,7 @@
unixPermissionsText(wantedPerms).constData());
return false;
}
+#endif
return true;
}