Security: Dangerous

chmod 766 β€” rwxrw-rw-

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

Live Interactive Permission Matrix

Linux chmod Calculator & Generator

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

Interactive Permission Matrix (rwx)

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

Copyable chmod 766 Commands

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

Recommended Real-World Use Cases

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

Security Consideration

SECURITY WARNING: The 'Others' octal digit is 6, giving public write access. Avoid this on public web servers.

Frequently Asked Questions

chmod 766 Questions & Answers

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

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