Skip to content

chmod

Changes the permissions of a directory or file.

Terminal window
chmod (-R) [PERMS] [PATH]
  • (-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
Terminal window
chmod o-rwx /home/volk

Result:
Subtracted the rwx permissions for other users from /home/volk