🦀 ClawHub
Chmod Calc
by @ohernandez-dev-blossom
Calculate chmod permissions — convert between numeric (octal) and symbolic notation, and generate the chmod command. Use when the user asks what chmod 755 me...
💡 Examples
Input: 755
Output:
Numeric: 755
Symbolic: rwxr-xr-x
Command (numeric): chmod 755 filename
Command (symbolic): chmod u+rwx,g+rx,o+rx filenameOwner: read, write, execute
Group: read, execute
Others: read, execute
Input: 644
Output:
Numeric: 644
Symbolic: rw-r--r--
Command (numeric): chmod 644 filename
Command (symbolic): chmod u+rw,g+r,o+r filenameOwner: read, write
Group: read
Others: read
Input: rwxr-xr-x
Output:
Numeric: 755
Symbolic: rwxr-xr-x
Command (numeric): chmod 755 filename
Command (symbolic): chmod u+rwx,g+rx,o+rx filename
Input: "owner can read and write, group can read, others nothing" Output:
Numeric: 640
Symbolic: rw-r-----
Command (numeric): chmod 640 filename
Command (symbolic): chmod u+rw,g+r filename
⚙️ Configuration
TERMINAL
clawhub install chmod-calc