Documentation
¶
Overview ¶
Package acl is a wrapper over libacl that dlopens it instead of being linked to it. The code is based on go-acl by Joseph Naegele (https://github.com/naegelejd/go-acl).
Index ¶
Constants ¶
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ACL ¶
type ACL struct {
// contains filtered or unexported fields
}
func InitACL ¶
InitACL dlopens libacl and returns an ACL object if successful.
func (*ACL) AddBaseEntries ¶
AddBaseEntries adds the base ACL entries from the file permissions.
func (*ACL) Free ¶
Free frees libacl's internal structures and closes libacl.
func (*ACL) ParseACL ¶
ParseACL parses a string representation of an ACL.
func (*ACL) SetFileACLDefault ¶
SetFileACLDefault sets the "default" ACL for path.
type Entry ¶
type Entry struct {
// contains filtered or unexported fields
}
Entry is an entry in an ACL.
type Permset ¶
type Permset struct {
// contains filtered or unexported fields
}
Permset is a set of permissions.
Click to show internal directories.
Click to hide internal directories.