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,650
13년 전 조회 1,502
13년 전 조회 2,205
13년 전 조회 903
13년 전 조회 785
13년 전 조회 2,136
13년 전 조회 735
13년 전 조회 743
13년 전 조회 1,031
13년 전 조회 769
13년 전 조회 626
13년 전 조회 999
13년 전 조회 1,133
13년 전 조회 1,145
13년 전 조회 912
13년 전 조회 1,851
13년 전 조회 1,088
13년 전 조회 653
13년 전 조회 902
13년 전 조회 1,500
13년 전 조회 969
13년 전 조회 610
13년 전 조회 1,154
13년 전 조회 1,531
13년 전 조회 653
13년 전 조회 627
13년 전 조회 552
13년 전 조회 884
13년 전 조회 582
13년 전 조회 1,071
13년 전 조회 1,088
13년 전 조회 1,502
13년 전 조회 698
13년 전 조회 983
13년 전 조회 4,590
13년 전 조회 1,214
13년 전 조회 551
13년 전 조회 639
13년 전 조회 791
13년 전 조회 1,244
13년 전 조회 562
13년 전 조회 1,496
13년 전 조회 1,734
13년 전 조회 613
13년 전 조회 528
13년 전 조회 680
13년 전 조회 2,294
13년 전 조회 538
13년 전 조회 683
13년 전 조회 553
13년 전 조회 541
13년 전 조회 1,023
13년 전 조회 1,206
13년 전 조회 549
13년 전 조회 671
13년 전 조회 1,110
13년 전 조회 554
13년 전 조회 1,315
13년 전 조회 1,629
13년 전 조회 4,076
13년 전 조회 1,071
13년 전 조회 1,280
13년 전 조회 739
13년 전 조회 691
13년 전 조회 751
13년 전 조회 1,132
13년 전 조회 2,315
13년 전 조회 816
13년 전 조회 1,827
13년 전 조회 1,915
13년 전 조회 2,168
13년 전 조회 903
13년 전 조회 1,191
13년 전 조회 916
13년 전 조회 1,034
13년 전 조회 943
13년 전 조회 794
13년 전 조회 923
13년 전 조회 987
13년 전 조회 1,065
13년 전 조회 1,893
13년 전 조회 589
13년 전 조회 965
13년 전 조회 735
13년 전 조회 536
13년 전 조회 998
13년 전 조회 2,999
13년 전 조회 2,061
13년 전 조회 1,644
13년 전 조회 585
13년 전 조회 1,217
13년 전 조회 2,066
13년 전 조회 1,193
13년 전 조회 1,209
13년 전 조회 953
13년 전 조회 1,140
13년 전 조회 2,128
13년 전 조회 623
13년 전 조회 990
13년 전 조회 2,286