From 6d421fc49e2c8363b6e11ea6b5b68d41f1001370 Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 7 Feb 2008 19:05:45 +0000 Subject: [PATCH] Move fix for !user to trunk git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8161 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Chains.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index f96ba98f9..52f8549c4 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -1195,6 +1195,7 @@ sub do_user( $ ) { $rule .= "--uid-owner $1 " if defined $1 && $1 ne ''; $rule .= "--gid-owner $2 " if defined $2 && $2 ne ''; } elsif ( $user =~ /^!/ ) { + $user =~ s/!//; $rule .= "! --uid-owner $user "; } else { $rule .= "--uid-owner $user ";