Tool.Yun
Narzędzia dla programistów
Kalkulator BMI
Kalkulator SLA
Kalkulator tempa biegu
Kontroler kart kredytowych
Konwerter kalendarza
Konwerter walut
Konwerter wielkich liter RMB
Parser i formater telefonu
Słownik internetowy
Walidator Luhn
Walidator i parser IBAN
Walidator i parser ISBN
Walidator numerów VAT
Wyjaśnij polecenie powłoki
Wyszukiwanie Unicode
Wyszukiwarka ISO 639
Wyszukiwarka kodów krajów ISO 3166
Wytyczne dotyczące oświetlenia IES
Zgodność licencji oprogramowania
Alarm Cron/dni powszednich
Alarm czasowy
Chronometr
Fuzja iCal
Generator ICAL
Kalkulator ETA
Kalkulator TTL
Kalkulator czasu trwania
Kalkulator daty i czasu trwania
Kalkulator dni
Konwerter daty i godziny
Konwerter numerów tygodni
Konwerter strefy czasowej
Który dzień?
Odliczanie
Parser plików ICAL
Docker Compose do Quadlets
Docker Compose do pliku .env
Docker Image Downloader
Docker Inspect do uruchomienia Dockera
Docker compose do Kubernetes
Docker uruchamiany w Quadlets
Etykiety Docker Pangolin
Generator RBAC Kubernetes
Generator etykiet Dockerfile
Konwerter Docker Compose na Docker Run
Konwerter Docker Run na Docker Compose
Konwerter formatów Docker Compose
Traefik Docker Compose Maker
Uruchomienie Dockera na Kubernetesie
Walidator Docker Compose
Konstruktor wyrażeń cron
Kalkulator amortyzacji
Komputer fitness
Konwerter częstotliwości
Konwerter energii żywności
Konwerter jednostek ciśnienia
Konwerter jednostek długości
Konwerter jednostek energii
Konwerter jednostek kątowych
Konwerter jednostek masy
Konwerter jednostek objętości
Konwerter jednostek powierzchni
Konwerter jednostek siły
Konwerter mocy
Konwerter natężenia oświetlenia
Konwerter prefiksów SI
Konwerter przyspieszenia
Konwerter prędkości
Konwerter temperatury
Przetwornik natężenia przepływu objętościowego
Generator NanoID
Generator UUID
Generator haseł
Generator haseł BIP39
Generator haseł Diceware
Generator kodu OTP
Generator kodu PIN
Generator liczb losowych
Generator numeronimów
Generator tokenów
Konwerter UUID
Koło fortuny
Rzucacz monet
Rzucanie kostką
Wybieracz kart
Analizator rozmiaru JSON
CSV do JSON
Edytor JSON
Fuzja JSON
Główny sortownik JSON
JSON do .env
JSON do C#
JSON do CSV
JSON do MessagePack
JSON do TOML
JSON do TS
JSON do XML
JSON do danych
JSON do encji Java
JSON do obiektu
JSON na Go
Json Escaper/Unescaper
Json do Pythona
Json do SQL DDL
Json do schematu
Json do tablicy PHP
Kod Json do PHP
Konwerter JS na JSON
Konwerter JSON na JS
Konwerter JSON na YAML
Konwerter ciągów JSON
Linter JSON
Minifikacja JSON
ObjGen do JSON
Pakiet wiadomości do JSON
Różnica JSON
Spłaszczacz/odspłaszczacz JSON
Tablica PHP do JSON
Tester Jq/JSONPath
Upiększanie i formatowanie JSON
Zapytanie JSON
tools.json-patch.name
Czytnik kodów kreskowych
Dekoder kodów QR
Generator danych kontaktowych QR
Generator kodów QR
Generator kodów QR WiFi
Generator kodów kreskowych
Walidator GTIN
tools.epc-qrcode-generator.name
CSV do danych
Excel do danych
Generator ULID
Koder/dekoder ciągu Base64
Koder/dekoder tablicy szesnastkowej Base64
Komputer do pomiaru zużycia i wydatków energii
Konwerter baz liczb całkowitych
Konwerter cyfr rzymskich
Konwerter dBm mW
Konwerter formatu zmiennych środowiskowych
Konwerter jednostek pamięci danych
Konwerter plików Base64
Konwerter wielu jednostek
Konwerter współrzędnych geograficznych
Konwerter właściwości
Konwerter znaków Unicode na encje Java
Normalizator poczty e-mail
Tekst do Unicode
Tekst do pliku binarnego UTF-8
Torrent do magnesu
Bcrypt
Generator CSR
Generator Hmac
Generator JWT
Generator certyfikatów X509
Generator kluczy PGP
Generator par kluczy ECDSA
Generator par kluczy Ed25519
Generator par kluczy RSA
Hasher Argon2
Hasher plików
Kalkulator CRC
Koder/dekoder Bech32
Konwerter certyfikatów SSL
Kryptografia AGE
Niceware Bytes to Passphrase
Odszyfrowywanie krypty skarbca Ansible
Parser JWT
Parser SAML
Parser certyfikatu/klucza
Paseto/PASERK Lokalny
Paseto/PASERK Publiczno-Prywatny
Podpisujący i weryfikator RSA/DSA/ECDSA
Szyfrowanie PGP
Szyfrowanie RSA
Szyfrowanie ciągów Jasypt
Szyfrowanie plików PGP
Szyfruj/odszyfruj tekst
Tajemnica Shamira
Tekst haszowany
Ewaluator matematyki
Kalkulator binarny
Kalkulator napiwków
Konwerter formatów matematycznych
OCR matematyczny
Wizualizator krzywych trygonometrycznych/równań
Edytor Markdown
Epub do Markdown
Generator spisu treści Markdown
Generator tabel Markdown
HTML do Markdownu
Markdown Lorem Ipsum
Markdown do DOCX
Markdown do HTML
Markdown do danych
Markdown na tekst
Podgląd Markdown
Różnica w Markdown
Upiększanie tabeli Markdown
Wklej jako Markdown
tools.markdown-format-converter.name
Czytnik jakości obrazu EXIF/metadanych/GPS/JPEG
GIF do MP4
Inwerter kolorów obrazu
Konwerter HEIC
Konwerter ICO/PNG
Konwerter formatów obrazów
OCRize obrazu i pliku PDF
Obraz do SVG (potrace)
Podgląd SVG
Porównanie obrazów
Przytnij obraz
Rejestrator kamery
Usuń EXIF
Usuń tło obrazu
Zmiana rozmiaru obrazu
Znak wodny
Ekstraktor stron PDF
Ekstraktor tekstu PDF
HTML do PDF
Kompresor PDF
Konkater PDF
Odszyfruj i odblokuj PDF
Pdf Linearize/FastWeb
Sprawdzanie podpisów PDF
Szyfrowanie PDF
Kalkulator odległości geograficznej
Kalkulator procentowy
Kalkulator proporcji obrazu
Twórca benchmarków
CSS/JS Upiększ i pomniejsz
Edytor poleceń CLI
Fałszerz danych
Generator Favicon
Generator GitIgnore
Generator Mailto
Generator atrybutów Gita
Generator meta-grafów Open Graph
Generator parametrów SQL
Generator sekretów Django
Generator skryptów do testów obciążeniowych K6
Generator tabel bazy danych
Javascript Unobfuscator/Unpacker
Json do Protobuf
Json do SQL INSERT
Json do TypeScript
Konstruktor ciągów połączeń z bazą danych
Konwerter cytatów
Konwerter loków
Konwerter plików HEX
Kreator tworzenia baz danych
Minifikator SQL
Podświetlacz kodu/skryptów
Rozdzielacz plików
Tester Picomatch
Tester interfejsu użytkownika Swagger
Tester ucieczki ANSI
Testy API
Timer Pomodoro
Ucieczka ze strun
Upiększacz JavaScript
Upiększanie i formatowanie SQL
Zaciemniacz JavaScript
Ładniejszy ślad stosu
Analizator siły hasła
Autoryzacja SIP
Czyszczenie adresów URL
Czyścik HTML
Dekoder ARPA
Dekoder X-VR-SpamCause
Edytor HTML WYSIWYG
Formater Nginx
Formatter poleceń powłoki
Generator Apache LogRotate
Generator Crontab
Generator DNS BIMI
Generator DNS DKIM
Generator DNS DMARC
Generator DNS PTR
Generator DNS SPF
Generator FStab
Generator HTAccess
Generator Iptables
Generator Option43
Generator Rsync
Generator ULA IPv6
Generator WPA PSK
Generator adresów MAC
Generator adresów URL UTM
Generator gradientów CSS
Generator htpasswd/htaccess
Generator konfiguracji Wireguard
Generator losowych portów
Generator poleceń Curl
Generator poleceń UFW
Generator poleceń wyłączania
Generator symboli zastępczych SVG
HTML do XHTML
HTML do danych
IPv4-6/Zakres IP/CIDR w zakresie IP/CIDR/Maska IP
Informacje o urządzeniu
Kalkulator HDD
Kalkulator RAID
Kalkulator RAID ZPOOL
Kalkulator chmod
Kalkulator niezawodności RAID
Kalkulator podsieci IPv4
Kalkulator podsieci IPv6
Kalkulator podsieci wizualnych
Kalkulator szybkości transferu danych
Kalkulator wykluczeń podsieci IP
Kalkulator zakresu IPv4/6 CIDR do IPv4
Kalkulator zakresu IPv4/6 do CIDR(s)
Kodowanie/dekodowanie ciągów znaków w formacie URL
Kody stanu HTTP
Kontroler DNSBL
Konwerter CSS XPath
Konwerter Punycode
Konwerter adresów IPv4
Konwerter adresów IPv6
Konwerter adresów MAC
Konwerter jednostek CSS
Konwerter kolorów
Konwerter pikseli REM
Koło kolorów
Kreator fragmentów wyszukiwania tekstu w adresie URL
Liczby całkowite dla IPv4/IPv6
Linearizer poleceń powłoki
Lister podsieci IPv4
Lokalizacja geograficzna IP
Minifikator HTML
Mój adres IP
Numery portów
Obraz do CSS
Parser agenta użytkownika
Podstawowy generator uwierzytelniania
Program do pobierania wielu łączy
Rozszerzacz zakresu IPv4
Siła hasła Zxcvbn
Slugify string
Sprawdzanie Whois
Sprawdzanie kontrastu kolorów
Tester mikrofonu
Tester portów TCP/UDP
Testowanie Websocket
Typy MIME
Ucieczka z encji HTML
Upiększacz CSS
Upiększacz HTML
Wyszukiwanie adresu MAC
ZPool Cheatsheet
Zapytania DNS
Zapytania DNS/RDAP Cloudflare
generator wiersza poleceń firewalld
tools.restic-command-generator.name
tools.url-redirection-checker.name
Łapacz adresów URL
Środek dezynfekujący HAS
Świst
Analizator raportów DMARC
Analizator wiadomości MSG programu Outlook
Arkusz informacyjny okablowania RJ45 Cat6
Czytnik plików parkietowych
Dekoder EMV TLV
Dekoder Outlook Safelink
Dekoder adresów URL udostępniania Sharepoint
Dekoder transakcji ETH
Detektor typów plików
Detektor/dekoder zestawu znaków tekstu
Ekstraktor identyfikatorów płatków śniegu
Generator zrzutów TCP
Informacje o kodzie klucza
Kalkulator rezystorów
Koder/dekoder szesnastkowy
Konsola portu szeregowego
Konstruktor adresów URL
Konwerter GZip/Deflate
Konwerter Middle-Endian
Konwerter SMART Raw
Konwerter kodowania MIME
Konwerter liczb zmiennoprzecinkowych
Konwerter obiektów MongoDB ObjectId
Kreator poleceń Nmap
Maskowanie poufnych danych
Parser URL
Parser e-maili
Parser plików cookie
Parser wiadomości zwrotnych
Rozszerzacz krótkich adresów URL
Tester DNS
Tester HTTPS
Tester martwych pikseli
Tester propagacji DNS
Wyszukiwarka właściwości LDAP usługi ActiveDirectory
键盘测试器
Linter TOML
TOML do JSON
TOML do YAML
Czytnik RSVP
Eksporter syren
Estymator tokenów GPT
Formater Unicode
Generator cytowań
Generator poleceń Sed
Generator tekstu ASCII Art
Generator/baner Zalgo
Inteligentna zamiana tekstu i łamanie wierszy
JSON do TOON
Kalkulator Levenshteina
Koder/dekoder tokenów GPT
Kontroler I i L
Konwerter kodu Morse'a
Konwerter listy
Konwerter przypadków
Konwerter run
Konwerter układu klawiatury
Listy Porównaj
Losowy wybór linii
Obraz do grafiki ASCII
Pliki pakietów dla AI
Porównanie czcionek
Rozdzielacz podpowiedzi AI
Różnica tekstu
Schemat struktury folderów
Selektor emoji
Statystyki tekstu
TOON do JSON
Tab do spacji
Tekst na nazwy Unicode
Tekst w alfabecie NATO
Tester wyrażeń regularnych
Tłumacz tekstu
Udostępniający linki społecznościowe
Unicode do GSM-7
Witaj, generatorze.
Wyodrębnij tekst z HTML
Wyraźne słowa
Wyszukiwarka duplikatów linii
Zaciemniacz ciągów
Formater XML
ObjGen do HTML
Tester XPath
Tester XSLT
XML Linter
XML do JSON
Fuzja YAML
Konwerter YAML na JSON
Narzędzie do spłaszczania/odspłaszczania YAML
Upiększanie i formatowanie YAML
YAML do TOML
Arkusz ściągawek Bash
Arkusz ściągawek Markdown
Arkusz ściągawek VIM
Arkusz ściągawek do poleceń ekranowych
Arkusz ściągawek dotyczący składni XPath
Arkusz ściągawek poleceń Tmux
Arkusz ściągawek programu PowerShell
Arkusz ściągawek selektorów CSS
Arkusz ściągawek z popularnymi wyrażeniami regularnymi
Arkusz ściągawek ze składnią JSONPath
Docker Cheatsheet
Docker SWARM ściągawka
Git Semantic Commit Cheatsheet
Jq Cheatsheet
Nano CheatSheet
Zellij Command Cheatsheet
ściągawka Docker Compose
ściągawka Dockerfile
ściągawka Git
ściągawka K8s
ściągawka Nginx
ściągawka Sed
ściągawka do polecenia chmod
ściągawka do wyrażeń regularnych

ściągawka do polecenia chmod

Arkusze ściągawek dotyczące zmian uprawnień w systemie Linux

chmod (change mode) sets who may read, write, and execute a file or directory on Unix-like systems. The mode can be written symbolically (u+x) or numerically (755) — both reach the same result.

chmod [options] <mode> <file>...

💡 Inspect before and after with ls -l <file>, or get the octal value directly with stat -c '%a %n' <file>.

🗂 Reading ls -l Output

-  rwx  r-x  r--   →  754
│  │    │    │
│  │    │    └── others : r-- = 4
│  │    └─────── group  : r-x = 5
│  └──────────── user   : rwx = 7
└─────────────── type   : - file · d directory · l symlink · c/b device

🧑 User Classes (who)

SymbolClassApplies to
uUserThe file’s owner
gGroupMembers of the file’s group
oOthersEveryone else
aAllu, g and o at once (implied when omitted)

🔐 Permission Bits (what)

SymbolPermissionOctalOn a fileOn a directory
rRead4Read the contentsList entry names (ls)
wWrite2Modify the contentsCreate, rename and delete entries
xExecute1Run as a programEnter it (cd) and reach entries by name
-None0——

📝 Symbolic Mode

OperatorEffect
+Add the listed permissions, leave the rest untouched
-Remove the listed permissions, leave the rest untouched
=Set exactly these permissions, clearing the others for that class
# add execute for the owner
chmod u+x <file>

# remove write from the group
chmod g-w <file>

# cut off group and others entirely
chmod go-rwx <file>

# everyone gets read only, nothing else
chmod a=r <file>

# several clauses, comma separated
chmod u=rwx,go=rx <file>

# 'a' is implied, then filtered by the umask
chmod +x <file>

# regular and special bits in one call
chmod u+x,g+s <file>

# copy the mode of another file
chmod --reference=<ref> <file>

💡 Use X (capital) instead of x to add execute only to directories and to files that already have an execute bit — the safe way to fix a tree: chmod -R u=rwX,go=rX <dir>.

🔢 Numeric (Octal) Mode

Each digit is the sum of r (4), w (2) and x (1):

OctalSumBits
74+2+1rwx
64+2rw-
54+1r-x
44r--
32+1-wx
22-w-
11--x
00---

Three digits map to user, group, others. An optional fourth leading digit sets the special bits (chmod 4755, see below).

Common modes

ModeSymbolicTypical use
777rwxrwxrwxFull access for everyone — ⚠️ almost never the right answer
755rwxr-xr-xScripts, binaries and directories
750rwxr-x---Executable for the owner and their group only
700rwx------Private directory (~/.ssh, ~/.gnupg)
664rw-rw-r--Files shared read-write inside a group
644rw-r--r--Regular files, web assets, configs
640rw-r-----Config with secrets, readable by a service group
600rw-------Private files (~/.ssh/id_ed25519, .env)
400r--------Read-only key material
chmod 755 script.sh

chmod 644 notes.txt

chmod 600 ~/.ssh/id_ed25519

🧪 Special Permission Bits

These go beyond read/write/execute and control the execution context and deletion rules.

BitOctalSymbolicApplies toEffectShown in ls -l as
setuid4u+sExecutable filesRuns with the file owner’s privilegess in the user field
setgid2g+sExecutables, directoriesRuns as the file’s group / new entries inherit the directory’s groups in the group field
sticky1+tDirectoriesOnly the entry’s owner (or root) may delete or rename itt in the others field
# setuid → -rwsr-xr-x
chmod 4755 /usr/bin/somebinary

# setgid → drwxrwsr-x: one group for the whole tree
chmod 2775 /srv/shared

# sticky → drwxrwxrwt: a shared drop box, like /tmp
chmod 1777 /srv/tmp

# strip every special bit again
chmod u-s,g-s,o-t <file>

⚠️ setuid is a privilege-escalation vector — never set it on scripts or on binaries a user can replace. Linux ignores it on interpreted scripts anyway.

ℹ️ A capital S or T in ls -l (-rwSr--r--) means the special bit is set while the matching x bit is not — usually a mistake.

📂 Directory Access Matrix

x on a directory means traverse, not execute — without it nothing below the directory can be reached, no matter how permissive the files themselves are.

ModeList names (ls)Details (ls -l, stat)Enter (cd)Open a known fileCreate / delete entries
r--✅❌❌❌❌
--x❌✅ (by exact name)✅✅❌
r-x✅✅✅✅❌
rwx✅✅✅✅✅
-w-❌❌❌❌❌ (write needs x)

🔁 Recursive & Selective Changes

# blunt: also marks every file executable
chmod -R 755 <dir>

# preferred: X only touches dirs + real executables
chmod -R u=rwX,go=rX <dir>

# directories only
find <dir> -type d -exec chmod 755 {} +

# files only
find <dir> -type f -exec chmod 644 {} +

# make every shell script executable
find <dir> -type f -name '*.sh' -exec chmod +x {} +

⚙️ Useful Options

OptionDescription
-R, --recursiveApply to directories and everything inside them
-v, --verbosePrint a line for every file processed
-c, --changesPrint a line only when a mode actually changed
-f, --silent, --quietSuppress most error messages
--reference=<file>Reuse the mode of another file instead of spelling it out
--preserve-rootRefuse to run recursively on / — not the default, unlike rm
-h (BSD/macOS)Act on the symlink itself instead of its target

🎭 umask — Default Permissions for New Files

New files start from 666 and new directories from 777; the umask bits are removed from that base.

# show the current mask, e.g. 0022
umask

# show it symbolically, e.g. u=rwx,g=rx,o=rx
umask -S

# stricter default for this shell session
umask 027
umaskNew filesNew directories
022644755
002664775
027640750
077600700

💡 Put umask 027 in ~/.bashrc (or a systemd unit’s UMask=) to make the default stick.

🚑 Common Recipes

GoalCommand
Make a script runnablechmod +x deploy.sh
Lock down an SSH key pairchmod 700 ~/.ssh && chmod 600 ~/.ssh/id_* && chmod 644 ~/.ssh/*.pub
Serve web content read-onlychmod -R u=rwX,go=rX /var/www/site
Shared team directory (one group)chmod 2775 /srv/shared
Public scratch directorychmod 1777 /srv/tmp
Clone the mode of a known-good filechmod --reference=good.conf new.conf
Undo an accidental chmod -R 777 .find . -type d -exec chmod 755 {} + && find . -type f -exec chmod 644 {} +

🧰 Related Commands

CommandPurpose
chown <user>:<group> <file>Change the owner and/or group
chgrp <group> <file>Change the group only
ls -l / ls -ld <dir>Show permissions (-d for the directory itself, not its contents)
stat -c '%a %A %U:%G %n' <file>Octal mode, symbolic mode, owner and group in one line
namei -l <path>Show the permissions of every component of a path
getfacl / setfaclFine-grained ACLs when u/g/o is not expressive enough
id / groupsCheck which groups you actually belong to

⚠️ Gotchas

  • chmod 777 is not a fix. It grants every local user write access; the real problem is almost always ownership (chown) or a missing x on a parent directory.
  • “Permission denied” on a file with rw-? Every directory in the path needs x. Debug the whole chain with namei -l /path/to/file.
  • Interpreted scripts need r too — the kernel hands the file to the interpreter, which has to read it.
  • Group changes need a new login (or newgrp <group>) before the shell picks them up.
  • FAT/NTFS/exFAT mounts ignore chmod — set permissions with the umask=, fmask= and dmask= mount options instead.
  • Removing x from a directory hides everything below it, even world-readable files.

📚 Resources

  • GNU coreutils — chmod invocation
  • GNU coreutils — file permissions
  • Man pages: man 1 chmod · man 1 umask · man 1 chown · man 5 acl