chmod 700 — what rwx------ means

700 rwx------

The owner can read, write, and execute; the group and others get nothing at all.

Permission breakdown

When to use 700

Private directories and personal scripts that only your own user should touch. A good default for a home-directory subfolder or a script holding logic you don't want other accounts to run.

Set it with chmod

Apply this permission to a file:

chmod 700 filename

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

chmod -R 700 directory/

Other common permissions

Or build any permission with the interactive chmod calculator.