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,637
13년 전 조회 1,483
13년 전 조회 2,191
13년 전 조회 891
13년 전 조회 770
13년 전 조회 2,116
13년 전 조회 709
13년 전 조회 728
13년 전 조회 1,012
13년 전 조회 750
13년 전 조회 609
13년 전 조회 983
13년 전 조회 1,115
13년 전 조회 1,129
13년 전 조회 889
13년 전 조회 1,843
13년 전 조회 1,069
13년 전 조회 635
13년 전 조회 887
13년 전 조회 1,483
13년 전 조회 956
13년 전 조회 587
13년 전 조회 1,134
13년 전 조회 1,518
13년 전 조회 635
13년 전 조회 608
13년 전 조회 537
13년 전 조회 866
13년 전 조회 568
13년 전 조회 1,049
13년 전 조회 1,071
13년 전 조회 1,487
13년 전 조회 684
13년 전 조회 969
13년 전 조회 4,574
13년 전 조회 1,197
13년 전 조회 536
13년 전 조회 615
13년 전 조회 776
13년 전 조회 1,231
13년 전 조회 547
13년 전 조회 1,479
13년 전 조회 1,723
13년 전 조회 597
13년 전 조회 511
13년 전 조회 659
13년 전 조회 2,278
13년 전 조회 523
13년 전 조회 667
13년 전 조회 535
13년 전 조회 521
13년 전 조회 1,005
13년 전 조회 1,190
13년 전 조회 533
13년 전 조회 643
13년 전 조회 1,091
13년 전 조회 539
13년 전 조회 1,292
13년 전 조회 1,609
13년 전 조회 4,060
13년 전 조회 1,051
13년 전 조회 1,263
13년 전 조회 726
13년 전 조회 670
13년 전 조회 733
13년 전 조회 1,106
13년 전 조회 2,294
13년 전 조회 795
13년 전 조회 1,799
13년 전 조회 1,892
13년 전 조회 2,148
13년 전 조회 884
13년 전 조회 1,176
13년 전 조회 895
13년 전 조회 1,013
13년 전 조회 924
13년 전 조회 780
13년 전 조회 903
13년 전 조회 964
13년 전 조회 1,048
13년 전 조회 1,876
13년 전 조회 569
13년 전 조회 946
13년 전 조회 709
13년 전 조회 516
13년 전 조회 970
13년 전 조회 2,977
13년 전 조회 2,042
13년 전 조회 1,622
13년 전 조회 565
13년 전 조회 1,204
13년 전 조회 2,045
13년 전 조회 1,181
13년 전 조회 1,190
13년 전 조회 937
13년 전 조회 1,121
13년 전 조회 2,112
13년 전 조회 604
13년 전 조회 974
13년 전 조회 2,272
🐛 버그신고