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

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