Skip to content

Glossary: Go Basics

Permissions

Also written: 0644, file permissions

Settings on macOS and Linux for who may read or change a file. In `0644`, the leading 0 marks a base-8 number, 6 lets you read and write, and each 4 lets others only read.

Where the book teaches it

Related terms

os.ReadFile and os.WriteFile