pathtrust

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package pathtrust decides whether only root can change a file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Problem

func Problem(uid uint32, mode fs.FileMode) string

Problem explains why someone other than root could change a file with this owner and mode, or returns "" when only root can. Group write is never accepted: a POSIX ACL mask shows up in the group bits, and the root group can have other members.

Types

This section is empty.

Jump to

Keyboard shortcuts

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