acl: rename UpdatePerms to Update
All checks were successful
Test / Create distribution (push) Successful in 24s
Test / Run NixOS test (push) Successful in 3m21s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-02-17 20:33:18 +09:00
parent 38a3e6af03
commit 7e69893264
6 changed files with 215 additions and 215 deletions

View File

@@ -58,7 +58,7 @@ func (w *Wayland) apply(sys *I) error {
} else {
*w.sync = sp
sys.printf("wayland listening on %q", w.dst)
return sys.wrapErrSuffix(errors.Join(os.Chmod(w.dst, 0), acl.UpdatePerm(w.dst, sys.uid, acl.Read, acl.Write, acl.Execute)),
return sys.wrapErrSuffix(errors.Join(os.Chmod(w.dst, 0), acl.Update(w.dst, sys.uid, acl.Read, acl.Write, acl.Execute)),
fmt.Sprintf("cannot chmod socket on %q:", w.dst))
}
}