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,623
13년 전 조회 1,470
13년 전 조회 2,177
13년 전 조회 876
13년 전 조회 750
13년 전 조회 2,096
13년 전 조회 683
13년 전 조회 706
13년 전 조회 992
13년 전 조회 733
13년 전 조회 588
13년 전 조회 954
13년 전 조회 1,087
13년 전 조회 1,111
13년 전 조회 870
13년 전 조회 1,830
13년 전 조회 1,047
13년 전 조회 616
13년 전 조회 869
13년 전 조회 1,458
13년 전 조회 937
13년 전 조회 576
13년 전 조회 1,112
13년 전 조회 1,500
13년 전 조회 615
13년 전 조회 583
13년 전 조회 509
13년 전 조회 838
13년 전 조회 552
13년 전 조회 1,025
13년 전 조회 1,046
13년 전 조회 1,471
13년 전 조회 666
13년 전 조회 941
13년 전 조회 4,553
13년 전 조회 1,181
13년 전 조회 514
13년 전 조회 597
13년 전 조회 753
13년 전 조회 1,208
13년 전 조회 524
13년 전 조회 1,458
13년 전 조회 1,696
13년 전 조회 576
13년 전 조회 488
13년 전 조회 640
13년 전 조회 2,254
13년 전 조회 495
13년 전 조회 638
13년 전 조회 513
13년 전 조회 509
13년 전 조회 979
13년 전 조회 1,163
13년 전 조회 515
13년 전 조회 623
13년 전 조회 1,066
13년 전 조회 518
13년 전 조회 1,269
13년 전 조회 1,590
13년 전 조회 4,036
13년 전 조회 1,028
13년 전 조회 1,243
13년 전 조회 704
13년 전 조회 647
13년 전 조회 711
13년 전 조회 1,085
13년 전 조회 2,269
13년 전 조회 771
13년 전 조회 1,782
13년 전 조회 1,873
13년 전 조회 2,117
13년 전 조회 870
13년 전 조회 1,150
13년 전 조회 874
13년 전 조회 998
13년 전 조회 903
13년 전 조회 757
13년 전 조회 880
13년 전 조회 945
13년 전 조회 1,022
13년 전 조회 1,847
13년 전 조회 544
13년 전 조회 924
13년 전 조회 684
13년 전 조회 492
13년 전 조회 945
13년 전 조회 2,957
13년 전 조회 2,019
13년 전 조회 1,594
13년 전 조회 546
13년 전 조회 1,179
13년 전 조회 2,024
13년 전 조회 1,160
13년 전 조회 1,173
13년 전 조회 921
13년 전 조회 1,095
13년 전 조회 2,088
13년 전 조회 583
13년 전 조회 947
13년 전 조회 2,244
🐛 버그신고