Registry / utility / hectane-go-acl

hectane-go-acl

JSON →
library1.0.0gogounverified

Package go-acl provides a Go interface for manipulating Access Control Lists (ACLs) on Windows.

go get github.com/hectane/go-acl
INSTALL
IMPORT
SIG · HECTANE-GO-ACL
H
hectane-go-acl
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

acl
github.com/hectane/go-acl

Apply an ACL to a file on Windows.

package main import ( "github.com/hectane/go-acl" ) func main() { // Example: apply an ACL to a file err := acl.Apply("file.txt", false, false, acl.GrantName("USER", acl.FILE_ALL_ACCESS)) if err != nil { panic(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hectane-go-acl — go get hectane-go-acl · libregistry