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,644
13년 전 조회 1,486
13년 전 조회 2,197
13년 전 조회 893
13년 전 조회 773
13년 전 조회 2,122
13년 전 조회 716
13년 전 조회 733
13년 전 조회 1,017
13년 전 조회 755
13년 전 조회 614
13년 전 조회 986
13년 전 조회 1,119
13년 전 조회 1,136
13년 전 조회 896
13년 전 조회 1,845
13년 전 조회 1,073
13년 전 조회 639
13년 전 조회 890
13년 전 조회 1,491
13년 전 조회 957
13년 전 조회 593
13년 전 조회 1,140
13년 전 조회 1,523
13년 전 조회 642
13년 전 조회 611
13년 전 조회 538
13년 전 조회 870
13년 전 조회 570
13년 전 조회 1,057
13년 전 조회 1,074
13년 전 조회 1,489
13년 전 조회 689
13년 전 조회 974
13년 전 조회 4,579
13년 전 조회 1,200
13년 전 조회 541
13년 전 조회 623
13년 전 조회 782
13년 전 조회 1,233
13년 전 조회 552
13년 전 조회 1,483
13년 전 조회 1,728
13년 전 조회 599
13년 전 조회 516
13년 전 조회 663
13년 전 조회 2,285
13년 전 조회 527
13년 전 조회 674
13년 전 조회 544
13년 전 조회 526
13년 전 조회 1,009
13년 전 조회 1,195
13년 전 조회 537
13년 전 조회 653
13년 전 조회 1,098
13년 전 조회 544
13년 전 조회 1,299
13년 전 조회 1,615
13년 전 조회 4,067
13년 전 조회 1,059
13년 전 조회 1,266
13년 전 조회 732
13년 전 조회 679
13년 전 조회 738
13년 전 조회 1,116
13년 전 조회 2,299
13년 전 조회 803
13년 전 조회 1,803
13년 전 조회 1,895
13년 전 조회 2,150
13년 전 조회 888
13년 전 조회 1,183
13년 전 조회 903
13년 전 조회 1,021
13년 전 조회 927
13년 전 조회 782
13년 전 조회 909
13년 전 조회 968
13년 전 조회 1,053
13년 전 조회 1,877
13년 전 조회 576
13년 전 조회 955
13년 전 조회 716
13년 전 조회 522
13년 전 조회 978
13년 전 조회 2,981
13년 전 조회 2,048
13년 전 조회 1,629
13년 전 조회 572
13년 전 조회 1,209
13년 전 조회 2,052
13년 전 조회 1,187
13년 전 조회 1,196
13년 전 조회 940
13년 전 조회 1,131
13년 전 조회 2,117
13년 전 조회 608
13년 전 조회 978
13년 전 조회 2,278
🐛 버그신고