Chmod 계산기

시각적 Linux 파일 권한 그리드 - 8진수, 기호 및 chmod 명령.

Chmod 계산기 - Linux 파일 권한 그리드

8진수 코드를 기억하는 대신 소유자, 그룹 및 공용에 대한 읽기, 쓰기 및 실행을 확인하십시오. - Dokall은 8진수 값, 기호 표기법 및 즉시 붙여넣을 수 있는 chmod 명령을 즉시 표시합니다.

일반적인 사전 설정에는 웹 디렉터리용 755, 파일용 644, SSH 키용 600, 읽기 전용 PEM 키용 400이 포함됩니다. 복사하기 전에 파일 이름 필드를 편집하여 터미널 명령을 사용자 정의하세요.

Frequently Asked Questions

What is chmod?
chmod (change mode) is a Unix/Linux command that sets file permissions. It controls who can read, write, and execute a file - the owner, the group, and everyone else.
What do the numbers in chmod 755 mean?
Each digit represents permissions for owner, group, and others. 7 = read(4) + write(2) + execute(1). 5 = read(4) + execute(1). So 755 means owner has full access, group and others can read and execute but not write.
What is the difference between files and directories?
Execute permission on a file means it can be run as a program. Execute on a directory means you can cd into it and list its contents. Directory permissions 755 (rwxr-xr-x) are standard; file permissions 644 (rw-r--r--) are common for regular files.
What does chmod 777 do?
777 grants read, write, and execute to everyone - owner, group, and others. This is a security risk on servers because any user can modify the file. Use 755 for directories and 644 for files unless you have a specific reason for broader access.
Symbolic vs numeric notation?
Numeric (755) is compact and common in tutorials. Symbolic (u=rwx,g=rx,o=rx) is more readable and used in chmod commands with letters: chmod u+x file adds execute for the owner. Dokall converts between both formats.