security

package
v1.3000030.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileOwnerRights

func CheckFileOwnerRights(filePath, requiredOwner string) error

CheckFileOwnerRights check that the given owner is the same owner of the given filepath

func CheckFileRights

func CheckFileRights(filePath string) error

CheckFileRights check that the given file path has been protected by the owner. If the owner is changed, they need at least the sudo permission to override the owner.

Types

This section is empty.

Jump to

Keyboard shortcuts

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