diff -Naur dolphin-18.08.0/src/main.cpp dolphin-18.08.0-p/src/main.cpp --- dolphin-18.08.0/src/main.cpp 2018-08-06 22:41:40.000000000 +0200 +++ dolphin-18.08.0-p/src/main.cpp 2018-08-20 12:47:05.819866374 +0200 @@ -42,18 +42,6 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) { -#ifndef Q_OS_WIN - // Prohibit using sudo or kdesu (but allow using the root user directly) - if (getuid() == 0) { - if (!qEnvironmentVariableIsEmpty("SUDO_USER")) { - std::cout << "Executing Dolphin with sudo is not possible due to unfixable security vulnerabilities." << std::endl; - return EXIT_FAILURE; - } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) { - std::cout << "Executing Dolphin with kdesu is not possible due to unfixable security vulnerabilities." << std::endl; - return EXIT_FAILURE; - } - } -#endif QApplication app(argc, argv); app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);