diff options
author | Alex Auvolat <alex@adnab.me> | 2020-01-26 18:57:29 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-01-26 18:57:29 +0100 |
commit | b768b78406fbc33c09483c93eaddfda21be9aae8 (patch) | |
tree | c88f07bf46f04f6b98f1d2c80d7c9f3a5564f440 | |
parent | 82402749e6edecc46d06c06b867fe39b8a3968d6 (diff) | |
download | bottin-b768b78406fbc33c09483c93eaddfda21be9aae8.tar.gz bottin-b768b78406fbc33c09483c93eaddfda21be9aae8.zip |
Fix an issue with excluded attributes
-rw-r--r-- | acl.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |