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,633
13년 전 조회 1,478
13년 전 조회 2,186
13년 전 조회 883
13년 전 조회 765
13년 전 조회 2,112
13년 전 조회 696
13년 전 조회 723
13년 전 조회 1,005
13년 전 조회 741
13년 전 조회 604
13년 전 조회 972
13년 전 조회 1,107
13년 전 조회 1,123
13년 전 조회 880
13년 전 조회 1,836
13년 전 조회 1,059
13년 전 조회 627
13년 전 조회 880
13년 전 조회 1,475
13년 전 조회 947
13년 전 조회 582
13년 전 조회 1,127
13년 전 조회 1,511
13년 전 조회 630
13년 전 조회 601
13년 전 조회 529
13년 전 조회 857
13년 전 조회 562
13년 전 조회 1,043
13년 전 조회 1,064
13년 전 조회 1,480
13년 전 조회 675
13년 전 조회 958
13년 전 조회 4,566
13년 전 조회 1,189
13년 전 조회 523
13년 전 조회 608
13년 전 조회 767
13년 전 조회 1,224
13년 전 조회 538
13년 전 조회 1,469
13년 전 조회 1,713
13년 전 조회 588
13년 전 조회 503
13년 전 조회 654
13년 전 조회 2,272
13년 전 조회 511
13년 전 조회 658
13년 전 조회 530
13년 전 조회 514
13년 전 조회 999
13년 전 조회 1,184
13년 전 조회 527
13년 전 조회 638
13년 전 조회 1,079
13년 전 조회 530
13년 전 조회 1,286
13년 전 조회 1,601
13년 전 조회 4,053
13년 전 조회 1,044
13년 전 조회 1,259
13년 전 조회 719
13년 전 조회 661
13년 전 조회 725
13년 전 조회 1,100
13년 전 조회 2,285
13년 전 조회 786
13년 전 조회 1,793
13년 전 조회 1,887
13년 전 조회 2,140
13년 전 조회 878
13년 전 조회 1,166
13년 전 조회 891
13년 전 조회 1,007
13년 전 조회 917
13년 전 조회 769
13년 전 조회 893
13년 전 조회 955
13년 전 조회 1,040
13년 전 조회 1,867
13년 전 조회 561
13년 전 조회 939
13년 전 조회 705
13년 전 조회 503
13년 전 조회 961
13년 전 조회 2,969
13년 전 조회 2,034
13년 전 조회 1,611
13년 전 조회 561
13년 전 조회 1,192
13년 전 조회 2,037
13년 전 조회 1,174
13년 전 조회 1,183
13년 전 조회 933
13년 전 조회 1,112
13년 전 조회 2,103
13년 전 조회 601
13년 전 조회 962
13년 전 조회 2,262
🐛 버그신고