Paste P586

Enable privilege execution
ActivePublic

Authored by chinmoyr on Apr 17 2020, 3:47 AM.
diff --git a/src/ioslaves/file/file_unix.cpp b/src/ioslaves/file/file_unix.cpp
index 67cfbf81..5e0ca973 100644
--- a/src/ioslaves/file/file_unix.cpp
+++ b/src/ioslaves/file/file_unix.cpp
@@ -1285,11 +1285,6 @@ PrivilegeOperationReturnValue FileProtocol::execWithElevatedPrivilege(ActionType
return PrivilegeOperationReturnValue::success();
}
- // temporarily disable privilege execution
- if (true) {
- return PrivilegeOperationReturnValue::failure(errcode);
- }
-
if (!(errcode == EACCES || errcode == EPERM)) {
return PrivilegeOperationReturnValue::failure(errcode);
}
chinmoyr created this paste.Apr 17 2020, 3:47 AM
chinmoyr created this object in space S1 KDE Community.