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

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