./prontouso.com
CÔNG CỤ LẬP TRÌNH

Tính Phân Quyền Tệp Linux (Chmod)

Tạo và chuyển đổi phân quyền tệp tin hệ điều hành Linux/Unix giữa định dạng số (ví dụ: 777, 755, 644) và định dạng ký hiệu quyền (r, w, x cho Owner, Group, Others).

Trạng thái công cụChạy trên trình duyệt của bạn
Xem trước

Dữ liệu đầu vào

Visual permissionsReadWriteExecute
Owner
Group
Others

Special bits

Special bits affect executable files and shared directories; this tool only explains the mode.

Kết quả

Numeric mode
755
Symbolic mode
rwxr-xr-x

Explanation

  • OwnerRead, Write, Execute
  • GroupRead, Execute
  • OthersRead, Execute

Note: In directories, the execute (x) bit allows users to enter the folder.

Examples

Cách thức hoạt động

  1. Nhập dữ liệu của bạn

    Điền các giá trị cần thiết, dán văn bản hoặc tải lên tệp bạn muốn xử lý.

  2. Xem kết quả tức thì

    Hầu hết các công cụ cập nhật theo thời gian thực khi bạn nhập liệu; một số công cụ sử dụng một nút hành động duy nhất.

  3. Sử dụng kết quả

    Sao chép, tải xuống hoặc chia sẻ kết quả được tạo — bạn luôn có toàn quyền kiểm soát dữ liệu của mình.

Quyền riêng tư & xử lý dữ liệuChạy cục bộ 100% trên trình duyệt của bạn. Công cụ này không tải dữ liệu của bạn lên máy chủ.

Tính Phân Quyền Tệp Linux (Chmod) là gì?

Convert between numeric chmod modes, symbolic rwx notation, and visual checkboxes for owner, group, and others.

TÌM HIỂU CÁCH HOẠT ĐỘNG CỦA CÔNG CỤ

How Unix chmod permissions work

Permission digits

Each chmod digit is a sum: read is 4, write is 2, and execute is 1. A digit of 7 means read, write, and execute; 5 means read and execute.

Common mode

755 means owner can read/write/execute, group and others can read/execute.

Special bits

setuid, setgid, and sticky are represented by an optional leading octal digit and affect executable files or shared directories in specific Unix contexts.

No commands are run

The tool only converts and explains permissions. It never executes chmod or accesses your files.

Numeric and symbolic example

Digit value
read(4) + write(2) + execute(1)

644

644 becomes rw-r--r--: owner can read/write, group and others can read only.

6 = 4 + 2; 4 = read; 4 = read

Permission conversion notes

The tool converts octal, symbolic, and checkbox states only. It never reads your filesystem or runs chmod on any local or server file.

Các Câu Hỏi Thường Gặp (FAQ)

What does chmod 644 mean?

The owner can read and write, while group and others can only read.

What does chmod 755 mean?

The owner can read, write, and execute, while group and others can read and execute.

Does this change file permissions?

No. It only generates and explains permission modes.

What do capital S and T mean in symbolic permissions?

They mean a special bit is set but the matching execute bit is not. For example S can appear where setuid or setgid exists without execute permission.

Công Cụ Liên Quan