Chmod

chmod 权限计算器

数字与符号权限互转

🔒 100% client-side — your data never leaves this page
Permissions
Numeric
Symbolic
chmod cmd
chmod 755 file
ReadWriteExecuteOctal
Owner (u)7
Group (g)5
Others (o)5
🔒 100% client-side
输出
Numeric (octal)755
Symbolicrwxr-xr-x
chmod commandchmod 755 filename
Recursivechmod -R 755 dirname/
What each bit means
Owner (u)rwxread + write + execute
Group (g)rwxread + execute
Others (o)rwxread + execute
Common permissions
777rwxrwxrwxFull access for everyone (avoid)
755rwxr-xr-xExecutable / directories
644rw-r--r--Standard file
600rw-------Private file (SSH keys)
750rwxr-x---Scripts, group readable
664rw-rw-r--Group writable file
400r--------Read-only (config files)
700rwx------Private directory

About this tool

在数字(八进制)与符号 chmod 权限之间自由转换,提供可视化权限矩阵。实时显示对应的 chmod 命令(含递归命令)以及每一位权限的含义说明。内置常用权限预设(如 755、644 等)。所有计算均在浏览器本地完成。

Frequently Asked Questions

What does 755 mean in chmod?

755 means the owner has read, write, and execute permissions (7), while group and others have read and execute permissions (5). It is commonly used for executable files and directories.

What is the difference between numeric and symbolic permissions?

Numeric (octal) permissions use numbers like 755 or 644, where each digit represents read (4), write (2), and execute (1). Symbolic permissions use letters like rwxr-xr-x to represent the same bits.

Is it safe to use 777?

777 grants full read, write, and execute permissions to everyone. It is generally not recommended for production environments due to security risks.