Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
windows:mingw:win32
mingw32-kconfig
0005-Do-not-apply-linux-only-related-access-rig...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-Do-not-apply-linux-only-related-access-right-check-f.patch of Package mingw32-kconfig
From ba602b603908694322de98cedc20fd2526c5199c Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Mon, 26 Jul 2021 21:04:36 +0200 Subject: [PATCH 5/5] Do not apply linux only related access right check for desktop files on Windows --- src/core/kdesktopfile.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/kdesktopfile.cpp b/src/core/kdesktopfile.cpp index 5411e48..d9b97b2 100644 --- a/src/core/kdesktopfile.cpp +++ b/src/core/kdesktopfile.cpp @@ -155,6 +155,9 @@ bool KDesktopFile::isAuthorizedDesktopFile(const QString &path) return false; } +#ifdef Q_OS_WIN + return true; +#endif // Not otherwise permitted, so only allow if the file is executable, or if // owned by root (uid == 0) QFileInfo entryInfo(path); -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor