Stax
Tools

Chmod कैलकुलेटर

Unix/Linux फ़ाइल परमिशन कैलकुलेट करें और chmod कमांड प्राप्त करें।

EntityRead (r)Write (w)Execute (x)OctalSymbolic
Owner (u)6rw-
Group (g)4r--
Others (o)4r--
Permission string
rw-r--r--
644
chmod 644 filename
Common permissions

Chmod कैलकुलेटर क्या है?

यह टूल Unix/Linux file permissions को visually set करता है। Read, Write, Execute checkboxes select करें — numeric (755) और symbolic (u+rwx) chmod commands दोनों मिलेंगे।

कैलकुलेटर का उपयोग कैसे करें

  1. Owner permissions चुनें (read, write, execute)।
  2. Group permissions चुनें।
  3. Others permissions चुनें।
  4. तुरंत 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 जो काम करें।

संबंधित टूल्स