Unix dosya izinlerini onay kutuları, sekizli (755 gibi) ve sembolik gösterim (rwxr-xr-x gibi) arasında dönüştürün.
chmod hesaplayıcı nasıl kullanılır
Sahip, grup ve diğer için okuma, yazma ve çalıştırma kutularını işaretleyin.
Veya kutuları otomatik ayarlamak için 755 gibi sekizli bir değer yazın.
Çalıştırmaya hazır chmod komutunu kopyalayın.
Unix file permissions control who can read, write and execute a file or directory, split across three groups: the owner, the group, and everyone else. This calculator converts between interactive checkboxes, the numeric octal form like 755, and the symbolic form like rwxr-xr-x, keeping all three in sync.
Each group gets three bits, read (4), write (2) and execute (1), and you add them up to get one digit. So 7 is read plus write plus execute (rwx), 5 is read plus execute (r-x), and 6 is read plus write (rw-). Three digits, one per group, give you the familiar permission number.
The common values are worth memorizing. 755 suits directories and executables: the owner has full access while group and others can read and execute but not write. 644 suits normal web files: the owner can read and write, everyone else can only read.
For sensitive files, 600 keeps things tight: only the owner can read or write, and nobody else has any access, which is what SSH private keys and similar secrets need.
There is also an optional fourth leading digit for special bits, setuid, setgid and the sticky bit, which change how programs run or how a shared directory behaves. When one is set, the execute position shows as s or t instead of x.
The calculator gives you the ready-to-run chmod command to copy, and runs entirely in your browser. It is a reference and converter, so it does not change any files itself.
Sıkça sorulan sorular
755 sahibe tam erişim ve herkese okuma ve çalıştırma verir, dizinler ve betikler için kullanılır. 644 sahibe okuma ve yazma ve herkese yalnızca okuma verir, normal dosyalar için kullanılır.
777 herkese okuma, yazma ve çalıştırma verir. Bir sunucuda neredeyse her zaman güvensizdir çünkü herhangi bir kullanıcı dosyayı değiştirebilir. Bunun yerine 755 veya 644'ü tercih edin.
Çalıştırma bitini ekleyin. 644'ten 755'e (veya chmod +x) geçersiniz, bu da sahip, grup ve diğerleri için çalıştırmayı açar.
Sekizli (755 gibi) izinleri sayı olarak kodlar, sembolik (rwxr-xr-x veya u+x) ise onları harf olarak tanımlar. Bu araç her ikisini de gösterir ve senkronize tutar.
Bunlar baştaki dördüncü bir basamaktır. Setuid ve setgid bir programı sahibi veya grubu olarak çalıştırır ve bir dizindeki sticky bit kullanıcıların birbirlerinin dosyalarını silmesini engeller (/tmp'de olduğu gibi).
setuid, setgid veya sticky bit ayarlandığında, özel bitin etkin olduğunu belirtmek için çalıştırma konumu x yerine s veya t olarak gösterilir.
Bu aracı göm
Bu aracı kendi web sitenize ekleyin. Aşağıdaki kod parçacığını kopyalayın; otomatik olarak güncel kalır.
<iframe src="https://monu.tools/embed/tr/chmod-calculator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>İlgili araçlar
Kendi IP adresinizi görün ve herhangi bir IP'nin konumunu, internet sağlayıcısını ve ağ ayrıntılarını sorgulayın.
SEO ve sosyal medya meta etiketleri (başlık, açıklama, Open Graph, Twitter Cards) oluşturun, canlı bir arama önizlemesiyle.
İki renk arasındaki kontrast oranını WCAG AA ve AAA erişilebilirlik seviyelerine karşı kontrol edin.
SQL sorgularını okunabilir şekilde biçimlendirin veya tek satıra sıkıştırın. Anahtar kelimeleri büyük, küçük harf veya olduğu gibi bırakma seçeneği sunar.