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,676
13년 전 조회 1,528
13년 전 조회 2,235
13년 전 조회 935
13년 전 조회 810
13년 전 조회 2,161
13년 전 조회 758
13년 전 조회 776
13년 전 조회 1,062
13년 전 조회 800
13년 전 조회 649
13년 전 조회 1,026
13년 전 조회 1,158
13년 전 조회 1,168
13년 전 조회 938
13년 전 조회 1,879
13년 전 조회 1,116
13년 전 조회 674
13년 전 조회 922
13년 전 조회 1,521
13년 전 조회 990
13년 전 조회 626
13년 전 조회 1,180
13년 전 조회 1,559
13년 전 조회 669
13년 전 조회 655
13년 전 조회 569
13년 전 조회 907
13년 전 조회 603
13년 전 조회 1,095
13년 전 조회 1,112
13년 전 조회 1,523
13년 전 조회 720
13년 전 조회 1,001
13년 전 조회 4,613
13년 전 조회 1,235
13년 전 조회 578
13년 전 조회 666
13년 전 조회 818
13년 전 조회 1,271
13년 전 조회 586
13년 전 조회 1,517
13년 전 조회 1,757
13년 전 조회 638
13년 전 조회 548
13년 전 조회 706
13년 전 조회 2,314
13년 전 조회 559
13년 전 조회 707
13년 전 조회 578
13년 전 조회 567
13년 전 조회 1,045
13년 전 조회 1,239
13년 전 조회 572
13년 전 조회 689
13년 전 조회 1,136
13년 전 조회 576
13년 전 조회 1,333
13년 전 조회 1,653
13년 전 조회 4,100
13년 전 조회 1,091
13년 전 조회 1,311
13년 전 조회 765
13년 전 조회 709
13년 전 조회 768
13년 전 조회 1,152
13년 전 조회 2,343
13년 전 조회 840
13년 전 조회 1,854
13년 전 조회 1,931
13년 전 조회 2,191
13년 전 조회 924
13년 전 조회 1,210
13년 전 조회 940
13년 전 조회 1,052
13년 전 조회 971
13년 전 조회 813
13년 전 조회 950
13년 전 조회 1,009
13년 전 조회 1,082
13년 전 조회 1,914
13년 전 조회 617
13년 전 조회 984
13년 전 조회 757
13년 전 조회 557
13년 전 조회 1,016
13년 전 조회 3,023
13년 전 조회 2,085
13년 전 조회 1,667
13년 전 조회 612
13년 전 조회 1,244
13년 전 조회 2,087
13년 전 조회 1,215
13년 전 조회 1,228
13년 전 조회 972
13년 전 조회 1,154
13년 전 조회 2,155
13년 전 조회 645
13년 전 조회 1,012
13년 전 조회 2,313