linux

리눅스 파일 권한

Gh1324 2023. 3. 22. 22:55
728x90

- 파일 접근 권한 (permission or mode)

File Type Read Write Execute Read Write Execute Read Write Execute
  owner Group Other Users
- or d r w x r w x r w x

 

- file type 

 디렉터리(d)인지 아닌지

 

- Resd 

읽을 수 있게 할 건지

 

- Write 

쓸수 있게 할 건지

 

- Execute

실행 가능하게 할건지

 

  • chmod [ugoa(+/-)rwx] <dir>
    • u = user, g = group, o = others, a  = all;
    • + = 권한 추가, - = 권한 삭제
    • dir = 디렉터리
728x90

'linux' 카테고리의 다른 글

centOS 7 VirtualBox에 설치하기  (1) 2024.01.11
리눅스 기초  (0) 2023.05.08
아이노드 값  (0) 2023.03.22
리눅스 기본 명령어 정리  (0) 2023.03.21
[linux] date, ps 명령어  (0) 2023.02.16