providerstate

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package providerstate validates the persistent root used for provider-owned launch metadata. Ownership, file type, and symlink violations fail closed; writable ancestors are reported while UAM-owned children remain owner-only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureTrustedBase

func EnsureTrustedBase(base string) error

EnsureTrustedBase creates base when absent and verifies that it is a real, current-user-owned directory. Group/other-writable ancestors emit a warning because some managed systems do not allow users to change those modes.

func VerifyTrustedBase

func VerifyTrustedBase(base string) error

VerifyTrustedBase performs the read-side form without mutation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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