Home
Phabricator
Search
Log In
Paste
P586
Enable privilege execution
Active
Public
Actions
Authored by
chinmoyr
on Apr 17 2020, 3:47 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
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
.
Log In to Comment