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
Group
Team or service account
Public (Others)
All other system users
Security Assessment
Status: Elevated
Target:
chmod 664 deploy.shchmod -R 664 /var/www/deploy.shInteractive Permission Matrix (rwx)
| Role | Read (r - 4) | Write (w - 2) | Execute (x - 1) | Octal Total |
|---|---|---|---|---|
| Owner (User) | 6 | |||
| Group | 6 | |||
| Others (Public) | 4 |
Copyable chmod 664 Commands
Apply to Single File
chmod 664 target_fileApply Recursively to Directory
chmod -R 664 /path/to/folderOnly 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--".