perms

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsGroupWorldWritable

func IsGroupWorldWritable(path string) (bool, error)

IsGroupWorldWritable reports whether path is writable by group or others. On Unix this checks for the 0022 bits in the file mode.

func IsPrivateFile

func IsPrivateFile(path string) (bool, error)

IsPrivateFile reports whether path is accessible only by its owner. On Unix this checks that the file mode is exactly 0600.

Types

This section is empty.

Jump to

Keyboard shortcuts

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