chmod 700 Permission Explained: Private to the Owner

Octal
700
Symbolic
rwx------
Binary
111 000 000
Risk Level
Restrictive

Summary: Only the owner has any access.

Class Read (4) Write (2) Execute (1) Octal
Owner (u) 7
Group (g) 0
Others (o) 0
700
rwx------
Owner: read/write/execute · Group: no access · Others: no access
chmod 700 filename
Restrictive
View the full chmod 700 guide →
Advertisement

chmod 700 Breakdown

Class Digit Symbolic On a file On a directory
Owner (u) 7 rwx Full access Full access: list, enter, create, delete
Group (g) 0 --- No access Cannot list, enter, or modify
Others (o) 0 --- No access Cannot list, enter, or modify

Is chmod 700 Safe?

Restrictive

This permission configuration follows standard Linux access control principles with no elevated risk indicators.

When not to use it

Common Use Cases

chmod 700 Command Examples

# Apply using octal mode
chmod 700 filename

# Apply using equivalent symbolic mode
chmod u=rwx,g=,o= filename

# Recursive command warning:
chmod -R 700 /path/to/dir
# Note: -R applies the same mode to files and directories. Use find to treat them separately:
find /path/to/dir -type d -exec chmod 700 {} +

# Verify permissions
stat -c '%a %A %n' filename    # Linux
stat -f '%Lp %Sp %N' filename   # macOS

# Example ls -l output:
-rwx------ 1 alice staff 1024 Jan 15 10:00 example.txt

umask Relationship

A umask of 077 makes new directories 700. Test umask values with our interactive Umask Calculator.

Advertisement

Frequently Asked Questions

What does chmod 700 mean?

Only the owner has any access. In octal notation, the owner receives 7 (read/write/execute), the group receives 0 (no access), and others receive 0 (no access).

Is chmod 700 safe?

chmod 700 is classified as Restrictive. It follows standard Linux access patterns.

What is chmod 700 in symbolic notation?

In symbolic notation, chmod 700 is represented as rwx------. You can apply this permission using the equivalent symbolic command "chmod u=rwx,g=,o= filename".

Why must ~/.ssh be 700?

OpenSSH strictly verifies file permissions to defend against unauthorized key extraction. If other users on the system have read or write access to ~/.ssh, an attacker could steal private keys or inject authorized keys to hijack your account. SSH refuses to establish connections when permissions on ~/.ssh are looser than 700.

Related Permissions

Change one bit:

Often compared: chmod 700 vs 755

← chmod 677 chmod 701 →

Related Guides

Advertisement