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,678
13년 전 조회 1,528
13년 전 조회 2,236
13년 전 조회 936
13년 전 조회 810
13년 전 조회 2,162
13년 전 조회 759
13년 전 조회 776
13년 전 조회 1,064
13년 전 조회 800
13년 전 조회 650
13년 전 조회 1,027
13년 전 조회 1,158
13년 전 조회 1,169
13년 전 조회 940
13년 전 조회 1,880
13년 전 조회 1,116
13년 전 조회 674
13년 전 조회 923
13년 전 조회 1,521
13년 전 조회 990
13년 전 조회 627
13년 전 조회 1,181
13년 전 조회 1,559
13년 전 조회 669
13년 전 조회 655
13년 전 조회 570
13년 전 조회 907
13년 전 조회 603
13년 전 조회 1,097
13년 전 조회 1,113
13년 전 조회 1,524
13년 전 조회 720
13년 전 조회 1,001
13년 전 조회 4,613
13년 전 조회 1,236
13년 전 조회 578
13년 전 조회 666
13년 전 조회 818
13년 전 조회 1,273
13년 전 조회 586
13년 전 조회 1,519
13년 전 조회 1,757
13년 전 조회 639
13년 전 조회 549
13년 전 조회 706
13년 전 조회 2,316
13년 전 조회 559
13년 전 조회 708
13년 전 조회 579
13년 전 조회 567
13년 전 조회 1,045
13년 전 조회 1,239
13년 전 조회 572
13년 전 조회 689
13년 전 조회 1,139
13년 전 조회 577
13년 전 조회 1,335
13년 전 조회 1,654
13년 전 조회 4,101
13년 전 조회 1,091
13년 전 조회 1,312
13년 전 조회 765
13년 전 조회 713
13년 전 조회 768
13년 전 조회 1,152
13년 전 조회 2,343
13년 전 조회 840
13년 전 조회 1,854
13년 전 조회 1,932
13년 전 조회 2,192
13년 전 조회 924
13년 전 조회 1,211
13년 전 조회 940
13년 전 조회 1,054
13년 전 조회 972
13년 전 조회 813
13년 전 조회 951
13년 전 조회 1,009
13년 전 조회 1,082
13년 전 조회 1,914
13년 전 조회 617
13년 전 조회 984
13년 전 조회 758
13년 전 조회 557
13년 전 조회 1,017
13년 전 조회 3,024
13년 전 조회 2,085
13년 전 조회 1,669
13년 전 조회 613
13년 전 조회 1,245
13년 전 조회 2,087
13년 전 조회 1,215
13년 전 조회 1,229
13년 전 조회 972
13년 전 조회 1,155
13년 전 조회 2,156
13년 전 조회 646
13년 전 조회 1,012
13년 전 조회 2,313