Chmod कैलकुलेटर
प्रतीकात्मक और संख्यात्मक नोटेशन में Unix फ़ाइल अनुमतियों की गणना करें
पढ़ना (r) | लिखना (w) | निष्पादन (x) | ऑक्टल | |
|---|---|---|---|---|
| स्वामी | 7 | |||
| समूह | 5 | |||
| अन्य | 5 |
| प्रतीकात्मक | ऑक्टल | अनुमति विवरण |
|---|---|---|
| r | 4 | पढ़ना |
| w | 2 | लिखना |
| x | 1 | निष्पादन |
| rw- | 6 | पढ़ना + लिखना |
| r-x | 5 | पढ़ना + निष्पादन |
| rwx | 7 | पढ़ना + लिखना + निष्पादन |
संबंधित उपकरण
IP सबनेट कैलकुलेटर
सबनेट, CIDR और नेटवर्क रेंज की गणना करें
IPv4 पता कनवर्टर
IPv4 पतों को दशमलव, बाइनरी, हेक्साडेसिमल और इंटीजर प्रारूपों के बीच रूपांतरित करें
WiFi QR कोड जनरेटर
WiFi नेटवर्क क्रेडेंशियल के लिए QR कोड उत्पन्न करें
MAC पता जनरेटर
परीक्षण और विकास के लिए रैंडम MAC पते उत्पन्न करें
User Agent पार्सर
ब्राउज़र, OS, डिवाइस और इंजन की पहचान के लिए User Agent स्ट्रिंग का विश्लेषण करें
JSON फ़ॉर्मेटर
JSON डेटा को सुंदर बनाएँ, छोटा करें और मान्य करें
उपयोग कैसे करें
अपने मान दर्ज करें
इनपुट फ़ील्ड में अपनी संख्याएँ या पैरामीटर भरें।
तुरंत परिणाम पाएँ
जैसे ही आप टाइप करते हैं परिणाम स्वचालित रूप से अपडेट होते हैं — कोई सबमिट बटन ज़रूरी नहीं।
कॉपी या सेव करें
परिणामों को क्लिपबोर्ड में कॉपी करें या अपने वर्कफ़्लो में उपयोग करें।
यह टूल क्यों उपयोग करें
100% मुफ़्त
कोई छिपी लागत नहीं, कोई प्रीमियम टियर नहीं — हर फ़ीचर मुफ़्त है।
कोई इंस्टॉलेशन नहीं
पूरी तरह से आपके ब्राउज़र में चलता है। कोई सॉफ़्टवेयर डाउनलोड या इंस्टॉल करने की ज़रूरत नहीं।
प्राइवेट और सुरक्षित
आपका डेटा कभी आपके डिवाइस से बाहर नहीं जाता। किसी भी सर्वर पर कुछ भी अपलोड नहीं होता।
मोबाइल पर काम करता है
पूरी तरह से रेस्पॉन्सिव — अपने फ़ोन, टैबलेट या डेस्कटॉप पर उपयोग करें।
Unix File Permissions: Understanding chmod and Access Control
Key Takeaways
- Unix permissions use three octal digits representing read (4), write (2), and execute (1) for owner, group, and others.
- Incorrect file permissions are a leading cause of security vulnerabilities in web servers and application deployments.
- All permission calculations happen in your browser — no system information is accessed or transmitted.
Unix file permissions control who can read, write, and execute files and directories on Linux, macOS, and other Unix-like systems. The chmod command and its numeric notation are essential knowledge for system administrators, DevOps engineers, and anyone deploying web applications. Incorrect permissions can either lock out legitimate access or expose sensitive files to unauthorized users.
Overly permissive file permissions (777) are cited in over 20% of web server compromise investigations.
Security Impact
Key Concepts
Permission Triplets
Each file has three permission sets: owner (u), group (g), and others (o). Each set can have read (r=4), write (w=2), and execute (x=1). The sum gives the octal digit: rwx = 7, rw- = 6, r-x = 5.
Symbolic vs. Numeric Mode
Symbolic: chmod u+x file (add execute for owner). Numeric: chmod 755 file (rwx for owner, rx for group and others). Numeric mode sets all permissions at once; symbolic mode modifies specific bits.
Directory Permissions
For directories, read (r) allows listing contents, write (w) allows creating/deleting files, and execute (x) allows entering the directory. A common secure setting is 755 for directories and 644 for files.
Special Permissions
SUID (4xxx) runs a file as its owner. SGID (2xxx) runs as its group or inherits group on directories. Sticky bit (1xxx) on directories prevents users from deleting others' files (used on /tmp).
Pro Tips
Use 644 (-rw-r--r--) for regular files and 755 (drwxr-xr-x) for directories as your secure default.
Never use 777 in production — it allows anyone to read, write, and execute. Find a more restrictive permission that meets your needs.
Web server files should be owned by the web server user (www-data, nginx) with 640 or 644 permissions.
Use umask to set default permissions for newly created files — a umask of 022 results in 755 for directories and 644 for files.
All permission calculations are performed entirely in your browser. No system files or permissions are accessed or modified. This tool is for calculation and education purposes only.