so now we have no root mode GUI file manager by default?
well Krusader still works as root !
VINNY
well Krusader still works as root !
VINNY
+#ifndef [COLOR=#ff0000]Q_OS_WIN[/COLOR]
+ // Check whether we are running as root
+ if (getuid() == 0) {
+ std::cout << "Executing Dolphin as root is not possible." << std::endl;
+ return EXIT_FAILURE;
#ifndef Q_OS_WIN
// Check whether we are running as root
if (getuid() == 0) {
std::cout << "Executing Dolphin as root is not possible." << std::endl;
return EXIT_FAILURE;
}
#endif
How do they expect to trap the use of Dolphin as root on Linux when they only test for Windows?

#ifndef Q_OS_WIN
// Check whether we are running as root
if (getuid() == 0) {
std::cout << "Executing Dolphin as root is not possible." << std::endl;
return EXIT_FAILURE;
}
#endif
How do they expect to trap the use of Dolphin as root on Linux when they only test for Windows?
Thanks for catching that. Closing the barn door on Windows after the horses have left wouldn't make much sense to me either.


There are 0 users viewing this topic.
Comment