chmod

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT-0 Imports: 4 Imported by: 0

Documentation

Overview

change file mode bits.

SYNOPSIS

chmod [-R] MODE FILE ...

DESCRIPTION

Chmod changes the file mode bits of provided files as specified by the MODE operand. The MODE of a file determines the permissions and attributes of the file in question. Currently the only supported MODE operand format requires using octal numbers from 0 to 7.

The options are as follows:

-R        Change files and directories recursively.

SEE ALSO

https://golang.org/pkg/os/#Chmod

REFERENCES

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/chmod.html

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Recursive bool
}

func (*Options) Chmod

func (opt *Options) Chmod(operands []string) error

type Opts

type Opts func(*Options)

Jump to

Keyboard shortcuts

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