aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acl.go2
1 files changed, 1 insertions, 1 deletions
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)
}