From 7e69893264f4b3ee3fc9168a61908552f7fbddac Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 17 Feb 2025 20:33:18 +0900 Subject: acl: rename UpdatePerms to Update Signed-off-by: Ophestra --- system/acl.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/acl.go') diff --git a/system/acl.go b/system/acl.go index 840c3971..8cd49cbd 100644 --- a/system/acl.go +++ b/system/acl.go @@ -34,14 +34,14 @@ func (a *ACL) Type() Enablement { return a.et } func (a *ACL) apply(sys *I) error { sys.println("applying ACL", a) - return sys.wrapErrSuffix(acl.UpdatePerm(a.path, sys.uid, a.perms...), + return sys.wrapErrSuffix(acl.Update(a.path, sys.uid, a.perms...), fmt.Sprintf("cannot apply ACL entry to %q:", a.path)) } func (a *ACL) revert(sys *I, ec *Criteria) error { if ec.hasType(a) { sys.println("stripping ACL", a) - return sys.wrapErrSuffix(acl.UpdatePerm(a.path, sys.uid), + return sys.wrapErrSuffix(acl.Update(a.path, sys.uid), fmt.Sprintf("cannot strip ACL entry from %q:", a.path)) } else { sys.println("skipping ACL", a) -- cgit v1.3.1