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,561
13년 전 조회 1,414
13년 전 조회 2,126
13년 전 조회 826
13년 전 조회 699
13년 전 조회 2,036
13년 전 조회 636
13년 전 조회 650
13년 전 조회 939
13년 전 조회 675
13년 전 조회 532
13년 전 조회 894
13년 전 조회 1,032
13년 전 조회 1,057
13년 전 조회 813
13년 전 조회 1,790
13년 전 조회 989
13년 전 조회 558
13년 전 조회 795
13년 전 조회 1,400
13년 전 조회 873
13년 전 조회 523
13년 전 조회 1,057
13년 전 조회 1,436
13년 전 조회 552
13년 전 조회 533
13년 전 조회 457
13년 전 조회 783
13년 전 조회 509
13년 전 조회 965
13년 전 조회 994
13년 전 조회 1,407
13년 전 조회 602
13년 전 조회 882
13년 전 조회 4,500
13년 전 조회 1,124
13년 전 조회 457
13년 전 조회 532
13년 전 조회 688
13년 전 조회 1,151
13년 전 조회 466
13년 전 조회 1,394
13년 전 조회 1,639
13년 전 조회 516
13년 전 조회 427
13년 전 조회 589
13년 전 조회 2,194
13년 전 조회 441
13년 전 조회 585
13년 전 조회 448
13년 전 조회 454
13년 전 조회 921
13년 전 조회 1,107
13년 전 조회 461
13년 전 조회 566
13년 전 조회 1,008
13년 전 조회 453
13년 전 조회 1,215
13년 전 조회 1,537
13년 전 조회 3,979
13년 전 조회 966
13년 전 조회 1,178
13년 전 조회 652
13년 전 조회 579
13년 전 조회 654
13년 전 조회 1,020
13년 전 조회 2,226
13년 전 조회 714
13년 전 조회 1,727
13년 전 조회 1,810
13년 전 조회 2,058
13년 전 조회 811
13년 전 조회 1,088
13년 전 조회 815
13년 전 조회 931
13년 전 조회 852
13년 전 조회 697
13년 전 조회 820
13년 전 조회 891
13년 전 조회 977
13년 전 조회 1,778
13년 전 조회 486
13년 전 조회 861
13년 전 조회 625
13년 전 조회 426
13년 전 조회 883
13년 전 조회 2,892
13년 전 조회 1,961
13년 전 조회 1,538
13년 전 조회 490
13년 전 조회 1,121
13년 전 조회 1,957
13년 전 조회 1,097
13년 전 조회 1,121
13년 전 조회 843
13년 전 조회 1,041
13년 전 조회 2,031
13년 전 조회 526
13년 전 조회 897
13년 전 조회 2,188
🐛 버그신고