Command-line Basics: File Permissions

1 · · Aug. 17, 2019, 8:19 p.m.
By design, the file system of most operating systems has a layer of security tied to the files and directories. This security allows multiple users to function on a system without being able to access each others files and helps keep you safe by making you explicitly set a file as being an executable. On Unix-like operating systems such as Linux and macOS, these settings are controlled by the chmod command. Getting started The chmod command, which is short for “change file mode bits” is standard...