Chmod कैलकुलेटर
Unix/Linux फ़ाइल परमिशन कैलकुलेट करें और chmod कमांड प्राप्त करें।
| Entity | Read (r) | Write (w) | Execute (x) | Octal | Symbolic |
|---|---|---|---|---|---|
| Owner (u) | 6 | rw- | |||
| Group (g) | 4 | r-- | |||
| Others (o) | 4 | r-- |
Permission string
rw-r--r--
644
chmod 644 filenameCommon permissions
Chmod कैलकुलेटर क्या है?
यह टूल Unix/Linux file permissions को visually set करता है। Read, Write, Execute checkboxes select करें — numeric (755) और symbolic (u+rwx) chmod commands दोनों मिलेंगे।
कैलकुलेटर का उपयोग कैसे करें
- Owner permissions चुनें (read, write, execute)।
- Group permissions चुनें।
- Others permissions चुनें।
- तुरंत numeric (jaise 755) और chmod command देखें।
Common permission patterns
- 755 — scripts, websites (rwxr-xr-x)
- 644 — regular files (rw-r--r--)
- 600 — private files (rw-------)
- 700 — private folders (rwx------)
- 777 — सबको सब (insecure!)
अक्सर पूछे जाने वाले प्रश्न
- Unix permissions क्या हैं?
- हर file/folder पर 3 permission groups हैं — owner, group, others। हर group में 3 permissions: read (r), write (w), execute (x)। Total 9 bits। chmod command से set होते हैं — numeric (755) या symbolic (u+rwx) syntax।
- Numeric chmod कैसे काम करता है?
- हर permission को number: read=4, write=2, execute=1। तीनों जोड़ें: rwx=7, rw=6, rx=5, r=4, w=2, x=1, none=0। 3 numbers (owner-group-others)। उदाहरण: 755 = owner full (7), group read+execute (5), others read+execute (5) — common for scripts।
- common chmod patterns कौन से हैं?
- 777 — सब को सब (insecure)। 755 — owner full, others read+execute (scripts, websites)। 644 — owner read+write, others read (regular files)। 600 — only owner (private keys)। 700 — only owner full (private folders)।
- 777 क्यों खतरनाक है?
- 777 दूसरे users (या hackers जो server पर पहुँच गए) को आपकी file modify या execute करने देता है। Web servers में 777 folder पर malware uploaded हो सकता है। Always least privilege principle: सबसे कम permissions जो काम करें।
संबंधित टूल्स
- JSON फॉर्मेटर, वैलिडेटर और रिपेयर टूल
अपने ब्राउज़र में JSON को तुरंत फॉर्मेट, मिनिफाई, वैलिडेट और रिपेयर करें। Keys को alphabetically सॉर्ट करें, auto-format, फ़ाइल डाउनलोड करें — मुफ्त, बिना साइन-अप, 100% क्लाइंट-साइड।
- QR कोड जनरेटर
URLs, टेक्स्ट, Wi-Fi और अधिक के लिए QR कोड बनाएं। PNG में डाउनलोड करें।
- पासवर्ड जनरेटर
कस्टम लंबाई और कैरेक्टर सेट के साथ मज़बूत, रैंडम पासवर्ड बनाएं।
- Base64 एन्कोडर / डिकोडर
टेक्स्ट को Base64 में एन्कोड करें या Base64 को वापस प्लेन टेक्स्ट में डिकोड करें।
- URL एन्कोडर / डिकोडर
URLs और क्वेरी स्ट्रिंग को percent-encoding के साथ एन्कोड या डिकोड करें।