Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 패치후 DB복구
- node1
- raw device
- sql scott
- scott unlock
- #mariadb #mariadb삭제 #yum #mysql
- 연습용계정
- 10.2.0.5
- rac
- mariadb #마리아디비 #MariaDB설치 #mysql #yum저장소
- #linux #리눅스 #파일권한
- clusterware
- RHEL4_oracle10g_silent
- Top #SQL
- #Oracle #optimizer #CBO #RBO #rule #all_rows #first_rows
- #Oracle #Script #운영스크립트 #테이블스페이스 #Tablespace
- RHEL3
- Silent Install
- Linux
- Silent Mode
- OEL5 설치
- rac1
- 굳ㅋ
- #Oracle #case문 #decode문 #Oracle함수
- #Mariadb #계정관리 #권한관리 #계정생성 #계정삭제 #권한부여 #권한삭제 #Maria #마리아디비
- oui
- oracle10g asm
- RHEL4_Oracle10g
- ORA-01034: ORACLE not available
- 리스너구성
Archives
- Today
- Total
As it was in the beginning, is now, and ever shall be, world without end.
리눅스 파일 권한 설정 본문
파일 권한 설정
유닉스(리눅스)기본적으로 여러 명의 사용자가 함께 사용하는 다중 사용자 시스템이므로 각 사용자의 파일과 정보를 보호하기 위해 접근 권한을 제어하는 것이 필수이다.
파일의 속성
$ ls -l /etc/hosts
-rw-r--r-- 1 root sys 2745 Aug 17 21:07 /etc/hosts
속성값 |
의미 |
- |
파일의 종류 ( - : 일반파일 , d : 디렉토리(폴더) ) |
rw-r--r-- |
권한 |
1 |
하드링크 개수 |
root |
소유자 ID |
sys |
소유자의 그룹 |
2745 |
파일크기 (Byte) |
Aug 17 21:07 |
최종 수정 날짜 |
/etc/hosts |
파일명 |
기본 퍼미션(Permission)
r (red) : 읽기 권한
w (write) : 쓰기 권한
x (execute) : 실행권한
- (denied) : 권한없음
s (SetUID, SetGID) : 파일 소유자, 그룹 소유자의 권한으로 실행
t Sticky Bit : 공유 디렉토리로 사용
umask
Default 권한 - umask 권한
파일의 기본권한 : 666
디렉토리의 기본권한 777
$umak
022
파일 : 666 - 022 : 644
디렉토리 : 777 - 022 755
Comments