From 14e9f68840a13bf48280f1b443bf99095bb286a8 Mon Sep 17 00:00:00 2001 From: Eldon Stegall Date: Sun, 6 Jul 2025 04:07:09 +0000 Subject: [PATCH] Fix error message on group ownership verification Signed-off-by: Eldon Stegall --- context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context.go b/context.go index f22ea867..8339c444 100644 --- a/context.go +++ b/context.go @@ -216,7 +216,7 @@ func (c *context) verifyMetadata(resource, target Resource) error { } if target.GID() != resource.GID() { - return fmt.Errorf("unexpected gid for %q: %v != %v", target.Path(), target.GID(), target.GID()) + return fmt.Errorf("unexpected gid for %q: %v != %v", target.Path(), target.GID(), resource.GID()) } if xattrer, ok := resource.(XAttrer); ok {