chown

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeHostPathOwnership

func ChangeHostPathOwnership(path string, recursive bool, uid, gid int) error

ChangeHostPathOwnership changes the uid and gid ownership of a directory or file within the host. This is used by the volume U flag to change source volumes ownership

func DangerousHostPath

func DangerousHostPath(path string) (bool, error)

DangerousHostPath validates if a host path is dangerous and should not be modified

Types

This section is empty.

Jump to

Keyboard shortcuts

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