Security: Standard

chmod 664 β€” rw-rw-r--

Owner and Group can read and write (rw-). Others can only read (r--).

Live Interactive Permission Matrix

Linux chmod Calculator & Generator

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

Interactive Permission Matrix (rwx)

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

Copyable chmod 664 Commands

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

Recommended Real-World Use Cases

  • β€’Collaborative configuration files
  • β€’Shared project documentation
  • β€’Team log files

Security Consideration

chmod 664 allows collaborative editing by team members sharing a group without granting unnecessary execution rights to static files.

Frequently Asked Questions

chmod 664 Questions & Answers

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

Owner and Group can read and write (rw-). Others can only read (r--). In symbolic notation, this is represented as "rw-rw-r--".