how does the chmod command change these permissions? This command modifies the access rights of a specific file by altering the file mod bits. These file mode bits are very important when it comes to who can read, write, or execute the file. In a way, the chmod command edits the file’s metadata to reflect those changes.