Security: Elevated

chmod 660 β€” rw-rw----

Owner and Group can read and write (rw-). Others have ZERO permissions (---).

Live Interactive Permission Matrix

Linux chmod Calculator & Generator

Octal Value
660
Symbolic
rw-rw----
Quick Presets:
Owner (User)
The file creator
6
Group
Team or service account
6
Public (Others)
All other system users
0
Security Assessment
Status: Elevated
View Full chmod 660 Guide β†’
Target:
chmod 660 deploy.sh
chmod -R 660 /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)0

Copyable chmod 660 Commands

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

Recommended Real-World Use Cases

  • β€’Database unix domain sockets (`/var/run/mysqld/mysqld.sock`)
  • β€’Shared application log files containing sensitive telemetry
  • β€’Application configuration files shared across local team members

Security Consideration

chmod 660 is used for confidential files that must be shared between a specific service user and a system group (e.g. web server and database daemon).

Frequently Asked Questions

chmod 660 Questions & Answers

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

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