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,566
13년 전 조회 1,419
13년 전 조회 2,130
13년 전 조회 829
13년 전 조회 703
13년 전 조회 2,042
13년 전 조회 641
13년 전 조회 654
13년 전 조회 946
13년 전 조회 682
13년 전 조회 537
13년 전 조회 898
13년 전 조회 1,035
13년 전 조회 1,060
13년 전 조회 816
13년 전 조회 1,797
13년 전 조회 992
13년 전 조회 562
13년 전 조회 801
13년 전 조회 1,405
13년 전 조회 884
13년 전 조회 532
13년 전 조회 1,063
13년 전 조회 1,440
13년 전 조회 557
13년 전 조회 537
13년 전 조회 461
13년 전 조회 789
13년 전 조회 514
13년 전 조회 965
13년 전 조회 996
13년 전 조회 1,412
13년 전 조회 609
13년 전 조회 888
13년 전 조회 4,510
13년 전 조회 1,129
13년 전 조회 464
13년 전 조회 538
13년 전 조회 695
13년 전 조회 1,152
13년 전 조회 469
13년 전 조회 1,399
13년 전 조회 1,643
13년 전 조회 521
13년 전 조회 432
13년 전 조회 596
13년 전 조회 2,200
13년 전 조회 444
13년 전 조회 595
13년 전 조회 457
13년 전 조회 459
13년 전 조회 924
13년 전 조회 1,110
13년 전 조회 466
13년 전 조회 570
13년 전 조회 1,013
13년 전 조회 453
13년 전 조회 1,217
13년 전 조회 1,545
13년 전 조회 3,984
13년 전 조회 971
13년 전 조회 1,184
13년 전 조회 655
13년 전 조회 587
13년 전 조회 658
13년 전 조회 1,027
13년 전 조회 2,232
13년 전 조회 716
13년 전 조회 1,733
13년 전 조회 1,815
13년 전 조회 2,067
13년 전 조회 821
13년 전 조회 1,091
13년 전 조회 819
13년 전 조회 939
13년 전 조회 857
13년 전 조회 702
13년 전 조회 827
13년 전 조회 898
13년 전 조회 982
13년 전 조회 1,788
13년 전 조회 489
13년 전 조회 872
13년 전 조회 630
13년 전 조회 437
13년 전 조회 886
13년 전 조회 2,897
13년 전 조회 1,968
13년 전 조회 1,540
13년 전 조회 493
13년 전 조회 1,125
13년 전 조회 1,961
13년 전 조회 1,105
13년 전 조회 1,124
13년 전 조회 855
13년 전 조회 1,045
13년 전 조회 2,034
13년 전 조회 530
13년 전 조회 898
13년 전 조회 2,193
🐛 버그신고