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,597
13년 전 조회 1,436
13년 전 조회 2,154
13년 전 조회 849
13년 전 조회 725
13년 전 조회 2,072
13년 전 조회 658
13년 전 조회 681
13년 전 조회 966
13년 전 조회 704
13년 전 조회 560
13년 전 조회 921
13년 전 조회 1,055
13년 전 조회 1,078
13년 전 조회 837
13년 전 조회 1,813
13년 전 조회 1,020
13년 전 조회 586
13년 전 조회 836
13년 전 조회 1,422
13년 전 조회 911
13년 전 조회 557
13년 전 조회 1,088
13년 전 조회 1,467
13년 전 조회 586
13년 전 조회 563
13년 전 조회 481
13년 전 조회 810
13년 전 조회 530
13년 전 조회 990
13년 전 조회 1,022
13년 전 조회 1,443
13년 전 조회 637
13년 전 조회 910
13년 전 조회 4,530
13년 전 조회 1,156
13년 전 조회 476
13년 전 조회 564
13년 전 조회 717
13년 전 조회 1,176
13년 전 조회 493
13년 전 조회 1,425
13년 전 조회 1,662
13년 전 조회 538
13년 전 조회 455
13년 전 조회 617
13년 전 조회 2,226
13년 전 조회 472
13년 전 조회 609
13년 전 조회 479
13년 전 조회 473
13년 전 조회 942
13년 전 조회 1,137
13년 전 조회 490
13년 전 조회 593
13년 전 조회 1,042
13년 전 조회 471
13년 전 조회 1,239
13년 전 조회 1,568
13년 전 조회 4,004
13년 전 조회 996
13년 전 조회 1,209
13년 전 조회 676
13년 전 조회 612
13년 전 조회 678
13년 전 조회 1,054
13년 전 조회 2,252
13년 전 조회 738
13년 전 조회 1,759
13년 전 조회 1,847
13년 전 조회 2,096
13년 전 조회 844
13년 전 조회 1,114
13년 전 조회 837
13년 전 조회 969
13년 전 조회 879
13년 전 조회 726
13년 전 조회 850
13년 전 조회 912
13년 전 조회 996
13년 전 조회 1,813
13년 전 조회 516
13년 전 조회 884
13년 전 조회 658
13년 전 조회 461
13년 전 조회 915
13년 전 조회 2,928
13년 전 조회 1,989
13년 전 조회 1,560
13년 전 조회 517
13년 전 조회 1,146
13년 전 조회 1,989
13년 전 조회 1,130
13년 전 조회 1,149
13년 전 조회 883
13년 전 조회 1,068
13년 전 조회 2,058
13년 전 조회 555
13년 전 조회 924
13년 전 조회 2,212
🐛 버그신고