Monu Tools

Chmod कैलकुलेटर

Unix फ़ाइल अनुमतियां विज़ुअली सेट करें और chmod कमांड और ऑक्टल कोड देखें।

Chmod का उपयोग कैसे करें

  1. 01

    मालिक, ग्रुप और अन्य के लिए पढ़ने, लिखने और निष्पादित अनुमतियां टॉगल करें।

  2. 02

    ऑक्टल कोड और chmod कमांड तुरंत देखें।

  3. 03

    कमांड कॉपी करें।

What Unix permissions are

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.

How the numbers work

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.

Common values worth knowing

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.

Special bits and the fourth digit

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.

How to use the output

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.

अक्सर पूछे जाने वाले सवाल

chmod संख्याएं कैसे काम करती हैं?

प्रत्येक अंक तीन अनुमतियों का प्रतिनिधित्व करता है: पढ़ना (4), लिखना (2), निष्पादित (1)। उन्हें जोड़ें: 7 = सभी, 6 = पढ़ना+लिखना, 5 = पढ़ना+निष्पादित।

chmod 755 का क्या मतलब है?

मालिक के पास सभी अनुमतियां हैं (7), ग्रुप और अन्य के पास पढ़ना और निष्पादित (5) हैं। स्क्रिप्ट और डायरेक्टरी के लिए सामान्य।

स्रोत

इस टूल को एम्बेड करें

इस टूल को अपनी वेबसाइट में जोड़ें। नीचे दिया स्निपेट कॉपी करें; यह अपने आप अपडेट रहता है।

<iframe src="https://monu.tools/embed/hi/chmod-calculator" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>

संबंधित टूल