Bảng Tính Quyền Chmod Linux
Chuyển đổi và tính toán quyền tập tin Linux giữa mã số octal, ký hiệu rwx và câu lệnh shell trực quan.
👤 Owner (User)
7👥 Group
5🌐 Others (Public)
5What is Chmod?
`chmod` (change mode) is the Unix/Linux command used to change file and directory access permissions. Permissions specify who can read, write, or execute a file across three user categories: Owner, Group, and Public/Others.
Key Features
- Interactive Checkboxes: Click read, write, or execute permissions to see numeric and symbolic codes update in real-time.
- Command Builder: Enter a file or folder path and toggle `-R` (recursive) to generate ready-to-run terminal commands.
- Standard Presets: One-click configurations for common web file (644), script/folder (755), and SSH key (600/400) permissions.
- Security Best Practices: Clear guidance on avoiding insecure permissions like 777 in production environments.
Frequently Asked Questions
What does chmod 755 mean?▼
755 gives the Owner read, write, and execute permissions (4+2+1 = 7). Group and Others have read and execute permissions (4+1 = 5). This is the standard setting for web directories and executable scripts.
Why is chmod 777 dangerous?▼
Chmod 777 allows anyone on the server to read, modify, and execute files. On shared servers or web applications, this creates severe security vulnerabilities where malicious actors could overwrite files or upload backdoors.
What permissions should SSH keys have?▼
Private SSH keys (such as `~/.ssh/id_rsa`) must be strictly protected with `chmod 600` (read/write for owner only) or `chmod 400` (read only for owner). SSH clients will refuse to use keys with loose permissions.
Related Tools
JWT Decoder
Decode and inspect JSON Web Tokens
Cron Expression Generator
Build, parse, and explain cron expressions with human-readable explanations and next run schedules.
SQL to TypeScript & Schema Generator
Convert SQL CREATE TABLE statements into TypeScript interfaces, Zod schemas, and Go structs. Supports PostgreSQL, MySQL, and SQLite data types.
GitHub Repository Tree
Visualize GitHub repository structure and generate markdown tree
Quick Chart & Graph Maker
Create beautiful, presentation-ready charts and graphs online: Bar, Horizontal Bar, Line, Area, Pie, and Donut charts with customizable color themes and instant PNG/SVG export.
Regex Tester
Test and debug regular expressions with real-time results
Need a specific tool, app, or extension?
AnyTools is a 100% free open-source project for creators and developers. If you have an idea for a missing tool, extension, or productivity feature, let us know via email. If you're a developer and want to contribute code, our GitHub repository is always open for pull requests!