Blame SOURCES/amanda-3.3.3-local-security-gid.patch

6b2820
diff -urpN old/common-src/local-security.c new/common-src/local-security.c
6b2820
--- old/common-src/local-security.c	2013-01-10 13:54:54.000000000 +0100
6b2820
+++ new/common-src/local-security.c	2017-02-17 13:29:27.429117936 +0100
6b2820
@@ -256,7 +256,7 @@ runlocal(
6b2820
 	initgroups(CLIENT_LOGIN, gid);
6b2820
     }
6b2820
     if (gid != 0)
6b2820
-	setregid(uid, gid);
6b2820
+	setregid(gid, gid);
6b2820
     if (uid != 0)
6b2820
 	setreuid(uid, uid);
6b2820
 #endif