security

package
v0.17.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ACLFolderPerms              = os.FileMode(0755)
	ACLFilePerms                = os.FileMode(0755)
	ACLUserROPerms              = os.FileMode(0400)
	ACLUserRWGroupOtherROPerms  = os.FileMode(0644)
	ACLUserRWXGroupOtherRXPerms = os.FileMode(0755)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemUser added in v0.17.0

type SystemUser struct {
	UserName  string
	UserId    string
	GroupName string
	GroupId   string
}

SystemUser holds the identity (user + group) for a Linux system account.

Directories

Path Synopsis
Package principal provides routines to set and check security for users, groups, files, and folders.
Package principal provides routines to set and check security for users, groups, files, and folders.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL