پرش به محتوای اصلی

ماشین‌حساب Chmod

ابزارهای توسعه‌دهنده

چک‌باکس‌های rwx به نماد اکتالی و سمبولیک

پاسخ سریع

Chmod Calculator: rwx checkboxes to octal and symbolic notation. r = 4, w = 2, x = 1; sum per group → octal digit.

روش ورودی:
755 ⇄ rwxr-xr-x
u=rwx,g=r-x,o=r-x
مالک urwx
گروه کاربری gr-x
دیگران or-x
دوتایی111 101 101

اصول تبدیل مبنای هشت

  1. 1r=4، w=2، x=1، هر رقم = مجموع بیت‌های فعال. rwx=7، r-x=5، r--=4.
  2. 2For 755: owner=7(rwx), group=5(r-x), others=5(r-x).
  3. 3Command: chmod 755 file or chmod u=rwx g=r-x o=r-x file

پیش‌فرض پرکاربرد (برای پر کردن کلیک کنید)

644Regular file: owner rw, others r
755Executable/dir: owner rwx, others rx
600Private: owner only (e.g. keys)
700Private dir: owner only
666World rw (dangerous)
777World rwx (never in production)
400Read-only: protect from edits
640Owner rw + group r
اصل ایمنی: هرگز از 777 در سرور استفاده نکنید. فایل‌های وب 644، دایرکتوری‌ها 755، کلید خصوصی SSH 600، دایرکتوری .ssh 700. بیت‌های ویژه (setuid/setgid/sticky) بیت چهارم را تشکیل می‌دهند: 4755، 2755، 1777 (/tmp).

آیا این ابزار برای شما مفید بود؟

نحوه استفاده

  1. Paste or type content: drop code/text into the Chmod Calculator or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

نکات کلیدی

  • Chmod Calculator is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: rwx checkboxes to octal and symbolic notation.
  • Results come with formulas and reference tables so you can verify every number.

اصول و فرمول‌ها

Unix permissions

r = 4, w = 2, x = 1; sum per group → octal digit
Groups: owner | group | others
Common: 755 dirs/scripts, 644 files, 600 private keys, 700 private dirs; avoid 777

سوالات متداول

How do I use the Chmod Calculator?
Open the page and fill in the input fields — results update automatically. rwx checkboxes to octal and symbolic notation.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

ابزارهای مرتبط

مشاهده تمام 55 ابزار این دسته‌بندی →

راهنماهای مرتبط

منبع و به‌روزرسانی‌ها

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

آخرین به‌روزرسانی:

فرمول‌ها و محتوای این صفحه توسط تیم YiJianSuan بازبینی شده است و صرفاً برای مرجع آموزشی است. برای امور عملیاتی، به اطلاعات رسمی مرجع مراجعه کنید.

محتوا توسط تیم تحریریه YiJianSuan نگهداری و به صورت دوره‌ای بازبینی می‌شود — فرآیند به‌روزرسانی و بازبینی درسیاست تحریریه.

استناد به این صفحه: YiJianSuan. ماشین‌حساب Chmod[EB/OL]. https://www.yijiansuan.com/fa/c/dev/chmod

نتایج ارائه شده توسط این ابزار صرفاً برای مرجع است و هیچ‌گونه توصیه حرفه‌ای محسوب نمی‌شود. برای محاسبات نهایی، به نتایج رسمی مرجع مراجعه کنید.