Toolvist

Calculadora de permisos chmod

Calcula permisos de archivos Linux y Unix con casillas y obtén el valor chmod octal y simbólico. Calculadora chmod gratuita que explica cada bit.

Clase Read (4) Write (2) Execute (1) Valor
Owner 7
Grupo 5
Others 5
Octal
755
Symbolic
rwxr-xr-x
Legend
r=4   w=2   x=1
Command
chmod 755 file

Calculadora de permisos Chmod gratuita

Calcula permisos de archivos de Linux sin adivinar. Marca lectura, escritura y ejecución para el propietario, el grupo y los demás, y esta calculadora produce el número octal equivalente (como 755) y la notación simbólica (como rwxr-xr-x) al instante.

The Unix syntax it produces pairs with the Crontab to English Translator for scheduling, and the Curl Command Builder for the same kind of command-line shorthand. To understand a permission string you already have, the Number Base Converter explains the octal arithmetic.

Cómo usar Calculadora chmod

  1. 1 Choose the file type: file or directory.
  2. 2 Toggle the read, write and execute boxes for owner, group and others.
  3. 3 Read the octal value the toggles produce.
  4. 4 Copy the octal form or the symbolic form, whichever your context uses.

Cómo usarlo

Usa las casillas para conceder o revocar permisos de lectura, escritura y ejecución a cada una de las tres clases: Propietario, Grupo y Otros. El valor octal, la cadena simbólica y el comando chmod listo se actualizan en vivo.

  • Salida octal (p. ej. 644, 755, 777)
  • Salida simbólica (p. ej. rw-r--r--)
  • Comando chmod completo listo para copiar
  • Búsqueda inversa desde un valor octal o simbólico

Leer permisos chmod

Cada clase de permiso tiene tres bits: lectura (4), escritura (2) y ejecución (1). Sumar los bits concedidos da un dígito del 0 al 7, y los tres dígitos en conjunto forman el modo octal. Por ejemplo, propietario lectura+escritura+ejecución (4+2+1=7), grupo lectura+ejecución (4+1=5) y otros lectura+ejecución (4+1=5) se combinan en 755. Los valores comunes son 644 para archivos y 755 para directorios y scripts.

Preguntas frecuentes

What do the three digits mean?

Each digit describes one class of user, in the order owner, group, others. Within a digit, read is four, write is two and execute is one, and the digit is the sum of the permissions granted. So seven is read, write and execute, six is read and write, and five is read and execute.

What does a leading fourth digit do?

It sets the special bits. The first of the four is setuid or setgid depending on position, which makes a program run with the permissions of its owner or group rather than those of the user invoking it. The last is the sticky bit, which on a directory means only the file's owner can delete it — that is how shared temporary directories work.

What is the difference between execute on a file and on a directory?

On a file it means the file may be run as a program. On a directory it means you may traverse it — you can access files inside by name. Without execute on a directory, read permission lets you list the names but not open anything, which is a confusing state to debug.

Herramientas para desarrolladores relacionadas

Ver todo en Herramientas para desarrolladores →

También te puede interesar

Herramientas de otras categorías que suelen combinarse con Calculadora chmod:

Explorar el directorio completo →