umask

 When you create a file, it’s given the permission rw-r--r-- by default. 
A directory is given the permission rwxr-xr-x.
 
These default values are determined by the value of umask. 
 
Type umask to see what your umask value is. For example:
 
$ umask
022
 
 
저는 이렇게 보이네요.
 
byoungguk@linuxtip:~$ umask
0022
 
파일이 644 --> 위 수치와 합하면 666
디렉토리 755 --> 합하면 777
 
The umask value masks the permissions value of 666 for a file and 777 for a directory.
 
The umask value of 022 results in permission for a directory of 755 (rwxr-xr-x).
 
That same umask results in a file permission of 644 (rw-r--r--).
 
(Execute permissions are off by default for regular files.)
 
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
13년 전 조회 1,627
13년 전 조회 1,472
13년 전 조회 2,177
13년 전 조회 877
13년 전 조회 755
13년 전 조회 2,098
13년 전 조회 686
13년 전 조회 711
13년 전 조회 999
13년 전 조회 735
13년 전 조회 592
13년 전 조회 958
13년 전 조회 1,092
13년 전 조회 1,115
13년 전 조회 872
13년 전 조회 1,830
13년 전 조회 1,050
13년 전 조회 617
13년 전 조회 872
13년 전 조회 1,460
13년 전 조회 939
13년 전 조회 577
13년 전 조회 1,117
13년 전 조회 1,505
13년 전 조회 617
13년 전 조회 588
13년 전 조회 514
13년 전 조회 842
13년 전 조회 556
13년 전 조회 1,029
13년 전 조회 1,052
13년 전 조회 1,473
13년 전 조회 670
13년 전 조회 946
13년 전 조회 4,556
13년 전 조회 1,183
13년 전 조회 514
13년 전 조회 601
13년 전 조회 754
13년 전 조회 1,212
13년 전 조회 527
13년 전 조회 1,464
13년 전 조회 1,700
13년 전 조회 581
13년 전 조회 491
13년 전 조회 644
13년 전 조회 2,261
13년 전 조회 501
13년 전 조회 644
13년 전 조회 519
13년 전 조회 509
13년 전 조회 986
13년 전 조회 1,171
13년 전 조회 517
13년 전 조회 627
13년 전 조회 1,070
13년 전 조회 520
13년 전 조회 1,273
13년 전 조회 1,594
13년 전 조회 4,038
13년 전 조회 1,030
13년 전 조회 1,248
13년 전 조회 709
13년 전 조회 650
13년 전 조회 712
13년 전 조회 1,087
13년 전 조회 2,272
13년 전 조회 772
13년 전 조회 1,784
13년 전 조회 1,874
13년 전 조회 2,125
13년 전 조회 872
13년 전 조회 1,153
13년 전 조회 876
13년 전 조회 1,000
13년 전 조회 906
13년 전 조회 761
13년 전 조회 882
13년 전 조회 947
13년 전 조회 1,028
13년 전 조회 1,855
13년 전 조회 551
13년 전 조회 928
13년 전 조회 689
13년 전 조회 497
13년 전 조회 951
13년 전 조회 2,960
13년 전 조회 2,022
13년 전 조회 1,601
13년 전 조회 550
13년 전 조회 1,181
13년 전 조회 2,027
13년 전 조회 1,164
13년 전 조회 1,179
13년 전 조회 926
13년 전 조회 1,101
13년 전 조회 2,091
13년 전 조회 587
13년 전 조회 951
13년 전 조회 2,250
🐛 버그신고