Security: Safe

chmod 404 β€” r-----r--

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

Live Interactive Permission Matrix

Linux chmod Calculator & Generator

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

Interactive Permission Matrix (rwx)

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

Copyable chmod 404 Commands

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

Recommended Real-World Use Cases

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

Security Consideration

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

Frequently Asked Questions

chmod 404 Questions & Answers

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

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