fs

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package fs defines file and directory permission constants.

Index

Constants

View Source
const (
	// PermFile is the standard permission for regular files (owner rw, others r).
	PermFile = 0644
	// PermExec is the standard permission for directories and executable files.
	PermExec = 0755
	// PermRestrictedDir is the permission for internal directories (owner rwx, group rx).
	PermRestrictedDir = 0750
	// PermSecret is the permission for secret files (owner rw only).
	PermSecret = 0600
	// PermKeyDir is the permission for the user-level key directory (owner rwx only).
	PermKeyDir = 0700
)

File permission constants.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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