Security: Safe

chmod 704 β€” rwx---r--

Owner has (rwx), Group has (---), and Others have (r--).

Live Interactive Permission Matrix

Linux chmod Calculator & Generator

Octal Value
704
Symbolic
rwx---r--
Quick Presets:
Owner (User)
The file creator
7
Group
Team or service account
0
Public (Others)
All other system users
4
Security Assessment
Status: Safe
View Full chmod 704 Guide β†’
Target:
chmod 704 deploy.sh
chmod -R 704 /var/www/deploy.sh

Interactive Permission Matrix (rwx)

RoleRead (r - 4)Write (w - 2)Execute (x - 1)Octal Total
Owner (User)7
Group0
Others (Public)4

Copyable chmod 704 Commands

Apply to Single File
chmod 704 target_file
Apply Recursively to Directory
chmod -R 704 /path/to/folder
Only Apply to Directories (find)
find /path/to/folder -type d -exec chmod 704 {} +
Only Apply to Files (find)
find /path/to/folder -type f -exec chmod 704 {} +

Recommended Real-World Use Cases

  • β€’Files requiring owner rwx and group ---
  • β€’Restricted scripts and utilities
  • β€’Custom deployment configurations

Security Consideration

chmod 704 (rwx---r--) configures specific Linux permission bits where the owner receives numeric value 7, the group receives 0, and public users receive 4. Total combined mask is 704.

Frequently Asked Questions

chmod 704 Questions & Answers

Common questions regarding Linux permissions, security risks, and recursive chmod commands.

Owner has (rwx), Group has (---), and Others have (r--). In symbolic notation, this is represented as "rwx---r--".