Linux file permission
Overview
Linux file permission에 대한 기술 문서입니다.
Summary
- 무엇인가? - Linux file permission
- 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
- 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시
Purpose
이 문서가 존재하는 이유
- Goal: Linux file permission에 대한 기술 정보 제공
- Scope: Linux file permission의 개념, 사용법, 설정
- Non-goals: 다른 주제로의 확장
Key Concepts
| Concept | Description | Related |
|---|---|---|
| Linux file permission | HPC/서버 환경에서 중요한 기술 개념 | Linux, Server |
Detailed Explanation
ls command witl -al option to view the permissions (or file mode) set for the contents of a directory[1]<syntaxhighlight lang="bash"> $ ls -al / total 2098648 drwxr-xr-x 20 root root 4096 May 25 08:40 . drwxr-xr-x 20 root root 4096 May 25 08:40 .. lrwxrwxrwx 1 root root 7 Aug 31 2022 bin -> usr/bin drwxr-xr-x 4 root root 4096 May 25 09:40 boot drwxr-xr-x 20 root root 4820 May 25 08:37 dev drwxr-xr-x 130 root root 12288 May 25 09:42 etc drwxr-xr-x 6 root root 4096 May 15 10:36 home lrwxrwxrwx 1 root root 7 Aug 31 2022 lib -> usr/lib lrwxrwxrwx 1 root root 9 Aug 31 2022 lib32 -> usr/lib32 lrwxrwxrwx 1 root root 9 Aug 31 2022 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 Aug 31 2022 libx32 -> usr/libx32 drwx------ 2 root root 16384 Aug 31 2022 lost+found drwxr-xr-x 3 root root 4096 Aug 31 2022 media drwxr-xr-x 5 root root 4096 Dec 13 10:03 mnt drwxr-xr-x 10 root root 4096 Apr 9 12:37 opt dr-xr-xr-x 1264 root root 0 May 25 08:36 proc
Best Practices
- 최신 버전 사용 권장
- 공식 문서 참고
- 테스트 환경에서 먼저 검증
References
Related Pages
Knowledge Graph
Related
→ Linux Kernel Tuning → systemd → LVM → iptables → Ubuntu → fstab → Linux Kernel