chmod
Purpose
Section titled “Purpose”Changes the permissions of a directory or file.
chmod (-R) [PERMS] [PATH]Arguments
Section titled “Arguments”- (-R) — enables recursion mode
- PERMS — the permissions you want to add or subtract ex: o-rwx
- PATH — the path to the file or directory to change the permissions
Examples
Section titled “Examples”chmod o-rwx /home/volkResult:
Subtracted the rwx permissions for other users from /home/volk
chmod -R o-rwx /home/volkResult:
Subtracted the rwx permissions for other users from /home/volk, and all files and directories inside this folder.