Blame patches/patch/no-ownership-hack.patch

39cd9d
diff -ru patch-2.7.6.orig/src/util.c patch-2.7.6/src/util.c
39cd9d
--- patch-2.7.6.orig/src/util.c	2018-02-03 13:41:49.000000000 +0100
39cd9d
+++ patch-2.7.6/src/util.c	2024-01-01 18:44:53.339218111 +0100
39cd9d
@@ -269,6 +269,7 @@
39cd9d
       uid = (euid == st->st_uid) ? -1 : st->st_uid;
39cd9d
       gid = (egid == st->st_gid) ? -1 : st->st_gid;
39cd9d
 
39cd9d
+#ifndef __midipix__
39cd9d
       /* May fail if we are not privileged to set the file owner, or we are
39cd9d
          not in group instat.st_gid.  Ignore those errors.  */
39cd9d
       if ((uid != -1 || gid != -1)
39cd9d
@@ -281,6 +282,7 @@
39cd9d
 		(uid == -1) ? "owner" : "owning group",
39cd9d
 		S_ISLNK (mode) ? "symbolic link" : "file",
39cd9d
 		quotearg (to));
39cd9d
+#endif
39cd9d
     }
39cd9d
   if (attr & FA_XATTRS)
39cd9d
     if (copy_attr (from, to) != 0