chmod 권한 계산기

chmod Permission Calculator

읽기 (r/4) Read (r/4) 쓰기 (w/2) Write (w/2) 실행 (x/1) Execute (x/1)
소유자 (Owner)Owner
그룹 (Group)Group
기타 (Other)Other

모든 계산은 브라우저에서만 처리되며 서버로 전송·저장되지 않습니다.All calculations run entirely in your browser — never uploaded or stored.

chmod 권한 계산기란?

chmod 권한 계산기는 리눅스·유닉스 파일 권한을 체크박스8진수 두 방향으로 즉시 변환해주는 도구입니다. 체크박스를 누르면 8진수·상징 표기(rwxr-xr-x)·chmod 명령어가 실시간으로 갱신되며, 반대로 8진수를 입력해도 체크박스와 표기가 바로 반영됩니다.

8진수와 rwx 표기 설명
  • 8진수 3자리: 소유자·그룹·기타 순서로 각 자리는 읽기(4)+쓰기(2)+실행(1)의 합입니다.
  • 상징 표기: rwxr-xr-x처럼 3자리씩 소유자·그룹·기타 권한을 문자로 나타냅니다.
  • 특수 권한: setuid(4000)·setgid(2000)·sticky bit(1000)를 켜면 4자리 8진수가 되고, 상징 표기의 실행 자리가 s/S 또는 t/T로 바뀝니다.
참고: 실제 서버에 적용하려면 터미널에서 표시된 chmod 명령어를 그대로 실행하면 됩니다.
개인정보·처리 방식

모든 계산은 사용자의 브라우저 안에서만 이루어집니다. 입력·결과는 서버로 전송되거나 저장되지 않으며, ‘명령어 복사’ 버튼으로 클립보드에 담을 수 있습니다.

What is this tool?

The chmod permission calculator converts Linux/Unix file permissions between checkboxes and octal notation instantly. Toggle a checkbox and the octal value, symbolic notation (rwxr-xr-x), and chmod command update live — or type an octal value and the checkboxes update to match.

Octal and rwx notation
  • 3-digit octal: owner, group, other in order; each digit is the sum of read(4) + write(2) + execute(1).
  • Symbolic notation: shows owner/group/other permissions as letters, e.g. rwxr-xr-x.
  • Special bits: enabling setuid(4000)/setgid(2000)/sticky bit(1000) adds a 4th octal digit and changes the execute slot to s/S or t/T in the symbolic notation.
Note: To apply it on a real server, run the displayed chmod command in your terminal.
Privacy & processing

Everything runs in your browser. Inputs and results are never uploaded or stored, and you can copy the command to your clipboard.

chmod 숫자(예: 755)는 무엇을 의미하나요?
chmod 권한은 소유자(owner)·그룹(group)·기타(other) 3자리 8진수로 표현합니다. 각 자리는 읽기(r=4)·쓰기(w=2)·실행(x=1) 권한 값의 합입니다. 예를 들어 755는 소유자에게 읽기·쓰기·실행(7), 그룹과 기타 사용자에게는 읽기·실행(5)만 허용한다는 뜻입니다.
r/w/x 각 자리는 무슨 뜻인가요?
r(읽기)은 파일 내용 조회 또는 디렉터리 목록 확인, w(쓰기)는 파일 수정 또는 디렉터리 내 파일 생성·삭제, x(실행)는 파일 실행 또는 디렉터리 진입 권한을 의미합니다. 상징 표기 rwxr-xr-x처럼 3자리씩 소유자·그룹·기타 순서로 나열됩니다.
setuid·setgid·sticky bit는 언제 쓰나요?
setuid(4000)는 실행 시 파일 소유자 권한으로 동작하게 하고, setgid(2000)는 실행 시 그룹 권한을 상속하거나 디렉터리 내 새 파일이 상위 그룹을 따르게 합니다. sticky bit(1000)는 공유 디렉터리(예: /tmp)에서 소유자만 자신의 파일을 삭제할 수 있도록 제한할 때 사용합니다. 이 값들은 4자리 8진수의 맨 앞자리로 표기됩니다.
계산한 권한을 실제 서버에 어떻게 적용하나요?
터미널에서 화면에 표시된 명령어(예: chmod 755 파일명)를 그대로 입력하면 됩니다. 8진수 대신 상징 표기로도 chmod u=rwx,g=rx,o=rx 파일명 형태로 적용할 수 있습니다.
What does a chmod number like 755 mean?
chmod permissions are expressed as a 3-digit octal number for owner, group, and other. Each digit is the sum of read(4), write(2), and execute(1). For example, 755 grants the owner read/write/execute(7) and grants group/other read/execute only(5).
What do r/w/x each mean?
r (read) lets you view a file's contents or list a directory, w (write) lets you modify a file or create/delete files in a directory, and x (execute) lets you run a file or enter a directory. The symbolic form rwxr-xr-x lists owner, group, and other permissions in three-character groups.
When are setuid, setgid, and sticky bit used?
setuid(4000) makes a program run with the file owner's privileges, setgid(2000) makes it run with the group's privileges or makes new files in a directory inherit the parent group, and sticky bit(1000) restricts shared directories (e.g. /tmp) so only the owner can delete their own files. These are represented as the leading digit of a 4-digit octal value.
How do I apply the calculated permission on a real server?
Type the displayed command (e.g. chmod 755 filename) into your terminal. You can also apply it using symbolic notation, such as chmod u=rwx,g=rx,o=rx filename.