Privacy notice This website only uses technically necessary cookies. Statistics, marketing and external services are not loaded without JavaScript. Learn more in our Privacy Policy.
Privacy notice This website uses only technically necessary cookies. Statistics, marketing and external services are not loaded without JavaScript. Read more in our Privacy Policy.
Informacja o prywatności Ta strona używa wyłącznie technicznie niezbędnych plików cookie. Statystyka, marketing i usługi zewnętrzne nie są ładowane bez JavaScript. Więcej w naszej Polityce prywatności.
Information sur la confidentialité Ce site n’utilise que des cookies techniquement nécessaires. Les services de statistiques, de marketing et les services externes ne sont pas chargés sans JavaScript. Plus d’informations dans notre Politique de confidentialité.
Avviso sulla privacy Questo sito usa solo cookie tecnicamente necessari. I servizi statistici, di marketing ed esterni non vengono caricati senza JavaScript. Maggiori informazioni nella nostra Informativa sulla privacy.
Aviso de privacidad Este sitio web solo usa cookies técnicamente necesarias. Los servicios de estadística, marketing y externos no se cargan sin JavaScript. Más información en nuestra Política de privacidad.
Privacymelding Deze website gebruikt alleen technisch noodzakelijke cookies. Statistiek-, marketing- en externe diensten worden zonder JavaScript niet geladen. Meer hierover in onze Privacyverklaring.
Privatlivsinformation Denne hjemmeside bruger kun teknisk nødvendige cookies. Statistik-, marketing- og eksterne tjenester indlæses ikke uden JavaScript. Læs mere i vores Privatlivspolitik.

Black Friday Up to 15% off game serversUp to 15% – until November 30 Claim discount

chmod Calculator

Tick read, write and execute or type the number. The tool converts in both directions and gives you the finished chmod command.

Free, no sign-up Server Setup
ClassRead (r)Write (w)Execute (x)
Owner
Group
Others
Common values
Notation
Command with number
Command with letters
Recursive on a folder

    Runs entirely in your browser. Your input never leaves your device. For our statistics, we only count that the tool was opened and used, without cookies and without any link to you.

    How it works

    1. Tick the permissions for owner, group and others, or enter the number directly.
    2. Read off the number, notation and the explanation.
    3. Copy the chmod command and run it in your server’s console.

    Frequently asked questions

    What do 644 or 755 mean?

    Each digit stands for one class: owner, group, others. Read counts 4, write 2, execute 1, and the sum is the digit. 644 means the owner reads and writes, everyone else only reads. 755 additionally lets everyone execute.

    Which permissions are usual for websites?

    Files 644, folders 755. Folders need the execute permission so you can enter them. Config files with passwords can be tighter, such as 600.

    Why is 777 a bad idea?

    Then every user on the system can change the file. That is a security risk, especially on web servers. Assign the right owners with chown and use tighter permissions instead.

    What are setuid, setgid and the sticky bit?

    Special permissions. Setuid and setgid run a program with the rights of its owner or group. The sticky bit on a folder lets users delete only their own files in it, as in /tmp. Only set them if you know exactly why.

    What does -R do in the command?

    The flag applies recursively to all files and subfolders. That is handy but sets the same permissions everywhere. For files and folders you often need two separate commands.