chmod 764 — what rwxrw-r-- means

764 rwxrw-r--

Owner has full access; the group can read and write; others can read only.

Permission breakdown

When to use 764

A shared data file the owner and group both edit, while everyone else may view but not change it. Note the owner also gets execute here — drop to 664 if it isn't meant to be run.

Set it with chmod

Apply this permission to a file:

chmod 764 filename

Or apply it recursively to a directory and everything inside it:

chmod -R 764 directory/

Other common permissions

Or build any permission with the interactive chmod calculator.