可视化计算Linux文件权限
| 👤 所有者 (User) | 👥 用户组 (Group) | 🌍 其他人 (Others) | |
|---|---|---|---|
| 📖 读取 (r) | |||
| ✏️ 写入 (w) | |||
| ▶️ 执行 (x) |
chmod is a Unix/Linux command that changes file permissions. Permissions are divided into three categories: owner, group, and others, each with read (r), write (w), and execute (x) permissions.
The numeric (octal) notation uses three digits (e.g., 755). Each digit represents permissions for owner, group, and others. 7=rwx, 6=rw-, 5=r-x, 4=r--, 0=---.
Common presets include 644 (owner read/write, others read), 755 (owner full, others read/execute), and 600 (owner only read/write).