Lompat ke konten utama

Kalkulator Chmod

Alat Pengembang

Kotak centang rwx ke notasi oktal dan simbolik

Jawaban Cepat

Chmod Calculator: rwx checkboxes to octal and symbolic notation. r = 4, w = 2, x = 1; sum per group → octal digit.

Cara Masukan:
755 ⇄ rwxr-xr-x
u=rwx,g=r-x,o=r-x
Pemilik urwx
Grup Pengguna gr-x
Orang Lain or-x
Biner111 101 101

Prinsip Konversi Oktal

  1. 1r=4, w=2, x=1, setiap digit = jumlah bit yang diaktifkan. rwx=7, r-x=5, r--=4.
  2. 2For 755: owner=7(rwx), group=5(r-x), others=5(r-x).
  3. 3Command: chmod 755 file or chmod u=rwx g=r-x o=r-x file

Prasetel Umum (Klik untuk Isi)

644Regular file: owner rw, others r
755Executable/dir: owner rwx, others rx
600Private: owner only (e.g. keys)
700Private dir: owner only
666World rw (dangerous)
777World rwx (never in production)
400Read-only: protect from edits
640Owner rw + group r
Prinsip Keamanan: Jangan pernah gunakan 777 di server. File halaman web 644, direktori 755, kunci privat SSH 600, direktori .ssh 700. Bit khusus (setuid/setgid/sticky) membentuk bit ke-4: 4755, 2755, 1777 (/tmp).

Apakah alat ini membantu Anda?

Cara Pakai

  1. Paste or type content: drop code/text into the Chmod Calculator or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

Poin Penting

  • Chmod Calculator is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: rwx checkboxes to octal and symbolic notation.
  • Results come with formulas and reference tables so you can verify every number.

Prinsip & Rumus

Unix permissions

r = 4, w = 2, x = 1; sum per group → octal digit
Groups: owner | group | others
Common: 755 dirs/scripts, 644 files, 600 private keys, 700 private dirs; avoid 777

FAQ

How do I use the Chmod Calculator?
Open the page and fill in the input fields — results update automatically. rwx checkboxes to octal and symbolic notation.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

Alat Terkait

Panduan terkait

Sumber & Pembaruan

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

Terakhir Diperbarui:

Rumus dan konten di halaman ini telah diverifikasi oleh tim YiJianSuan, hanya untuk referensi pembelajaran. Silakan merujuk ke sumber resmi untuk keperluan bisnis praktis.

Konten dikelola dan diverifikasi secara berkala oleh tim editorial YiJianSuan, proses pembaruan dan peninjauan dapat dilihat diKebijakan Editorial.

Kutip Halaman Ini: YiJianSuan. Kalkulator Chmod[EB/OL]. https://www.yijiansuan.com/id/c/dev/chmod

Hasil yang diberikan oleh alat ini hanya untuk referensi dan tidak merupakan saran profesional apa pun, silakan merujuk ke perhitungan resmi.