From b768b78406fbc33c09483c93eaddfda21be9aae8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 26 Jan 2020 18:57:29 +0100 Subject: Fix an issue with excluded attributes --- acl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acl.go b/acl.go index 3607d9c..8cb433f 100644 --- a/acl.go +++ b/acl.go @@ -45,7 +45,7 @@ func ParseACL(def []string) (ACL, error) { attr, exclAttr := []string{}, []string{} for _, s := range splitNoEmpty(parts[4]) { if s[0] == '!' { - exclAttr = append(exclAttr, s) + exclAttr = append(exclAttr, s[1:]) } else { attr = append(attr, s) } -- cgit v1.2.3