Chuyển đến nội dung chính

Chuyển đổi hộp kiểm rwx thành ký hiệu bát phân và ký hiệu

Xem nhanh kết quả

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

Phương thức đầu vào:
755 ⇄ rwxr-xr-x
u=rwx,g=r-x,o=r-x
Chủ sở hữu urwx
Nhóm người dùng gr-x
Người khác or-x
Hệ nhị phân111 101 101

Nguyên lý chuyển đổi hệ bát phân

  1. 1r=4, w=2, x=1, mỗi chữ số = tổng các bit được bật. 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

Cài đặt trước thường dùng (nhấp để điền)

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
Nguyên tắc an toàn: Tuyệt đối không dùng quyền 777 trên máy chủ. Tệp trang web 644, thư mục 755, khóa riêng SSH 600, thư mục .ssh 700. Bit đặc biệt (setuid/setgid/sticky) tạo thành bit thứ 4: 4755, 2755, 1777 (/tmp).

Công cụ này có hữu ích cho bạn không?

Hướng dẫn sử dụng

  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.

Điểm chính

  • 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.

Công thức và nguyên lý hoạt động

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

Câu hỏi thường gặp

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.

Công cụ liên quan

Hướng dẫn liên quan

Nguồn và cập nhật

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

Cập nhật gần nhất:

Công thức và nội dung trên trang này đã được đội ngũ YiJianSuan kiểm tra lại, chỉ dùng để tham khảo học tập, các nghiệp vụ thực tế vui lòng tuân theo thông báo chính thức.

Nội dung được đội ngũ biên tập YiJianSuan duy trì và kiểm tra lại định kỳ, quy trình cập nhật và kiểm duyệt xem tạiQuy định biên tập.

Trích dẫn trang này: YiJianSuan. Máy tính Chmod[EB/OL]. https://www.yijiansuan.com/vi/c/dev/chmod

Kết quả do công cụ này cung cấp chỉ mang tính tham khảo, không cấu thành bất kỳ lời khuyên chuyên nghiệp nào, vui lòng dựa trên kết quả tính toán chính thức.