14ec6f
diff -ru tdnf-2.1.1.orig/tools/cli/main.c tdnf-2.1.1/tools/cli/main.c
14ec6f
--- tdnf-2.1.1.orig/tools/cli/main.c	2020-05-29 19:28:42.000000000 +0200
14ec6f
+++ tdnf-2.1.1/tools/cli/main.c	2022-01-23 20:19:28.417829507 +0100
14ec6f
@@ -66,11 +66,13 @@
14ec6f
     //granular permissions for non root users are pending.
14ec6f
     //blocking all operations for non root and show the
14ec6f
     //right error to avoid confusion.
14ec6f
+#ifndef __midipix__
14ec6f
     if(geteuid() != 0)
14ec6f
     {
14ec6f
         dwError = ERROR_TDNF_PERM;
14ec6f
         BAIL_ON_CLI_ERROR(dwError);
14ec6f
     }
14ec6f
+#endif
14ec6f
 
14ec6f
     _context.pFnCheck = TDNFCliInvokeCheck;
14ec6f
     _context.pFnCheckLocal = TDNFCliInvokeCheckLocal;