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,648
13년 전 조회 1,499
13년 전 조회 2,203
13년 전 조회 898
13년 전 조회 782
13년 전 조회 2,132
13년 전 조회 732
13년 전 조회 740
13년 전 조회 1,028
13년 전 조회 767
13년 전 조회 621
13년 전 조회 995
13년 전 조회 1,126
13년 전 조회 1,144
13년 전 조회 910
13년 전 조회 1,849
13년 전 조회 1,081
13년 전 조회 644
13년 전 조회 897
13년 전 조회 1,498
13년 전 조회 963
13년 전 조회 603
13년 전 조회 1,150
13년 전 조회 1,529
13년 전 조회 651
13년 전 조회 622
13년 전 조회 548
13년 전 조회 876
13년 전 조회 577
13년 전 조회 1,065
13년 전 조회 1,081
13년 전 조회 1,500
13년 전 조회 697
13년 전 조회 979
13년 전 조회 4,588
13년 전 조회 1,212
13년 전 조회 548
13년 전 조회 637
13년 전 조회 788
13년 전 조회 1,238
13년 전 조회 559
13년 전 조회 1,493
13년 전 조회 1,733
13년 전 조회 611
13년 전 조회 524
13년 전 조회 675
13년 전 조회 2,289
13년 전 조회 533
13년 전 조회 680
13년 전 조회 551
13년 전 조회 537
13년 전 조회 1,020
13년 전 조회 1,202
13년 전 조회 546
13년 전 조회 666
13년 전 조회 1,105
13년 전 조회 549
13년 전 조회 1,310
13년 전 조회 1,626
13년 전 조회 4,072
13년 전 조회 1,068
13년 전 조회 1,275
13년 전 조회 738
13년 전 조회 684
13년 전 조회 748
13년 전 조회 1,126
13년 전 조회 2,313
13년 전 조회 813
13년 전 조회 1,817
13년 전 조회 1,907
13년 전 조회 2,164
13년 전 조회 897
13년 전 조회 1,188
13년 전 조회 913
13년 전 조회 1,028
13년 전 조회 939
13년 전 조회 791
13년 전 조회 921
13년 전 조회 980
13년 전 조회 1,063
13년 전 조회 1,891
13년 전 조회 586
13년 전 조회 962
13년 전 조회 730
13년 전 조회 534
13년 전 조회 994
13년 전 조회 2,997
13년 전 조회 2,057
13년 전 조회 1,640
13년 전 조회 579
13년 전 조회 1,216
13년 전 조회 2,059
13년 전 조회 1,191
13년 전 조회 1,206
13년 전 조회 950
13년 전 조회 1,140
13년 전 조회 2,126
13년 전 조회 619
13년 전 조회 987
13년 전 조회 2,284
🐛 버그신고