diff -Nuar a/src/main.cpp b/src/main.cpp --- a/src/main.cpp 2023-04-14 06:19:08.000000000 +0300 +++ b/src/main.cpp 2023-04-20 21:26:52.104629720 +0300 @@ -52,15 +52,15 @@ { #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 << "Running dolphin with sudo can cause bugs and expose you to security vulnerabilities." << std::endl; - return EXIT_FAILURE; - } else if (!qEnvironmentVariableIsEmpty("kdesu_USER")) { - std::cout << "Running dolphin with kdesu can cause bugs and expose you to security vulnerabilities." << std::endl; - return EXIT_FAILURE; - } - } + //if (getuid() == 0) { + // if (!qEnvironmentVariableIsEmpty("SUDO_USER")) { + // std::cout << "Running dolphin with sudo can cause bugs and expose you to security vulnerabilities." << std::endl; + // return EXIT_FAILURE; + //} else if (!qEnvironmentVariableIsEmpty("kdesu_USER")) { + // std::cout << "Running dolphin with kdesu can cause bugs and expose you to security vulnerabilities." << std::endl; + //return EXIT_FAILURE; + //} + //} #endif /**