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,559
13년 전 조회 1,412
13년 전 조회 2,125
13년 전 조회 826
13년 전 조회 697
13년 전 조회 2,035
13년 전 조회 636
13년 전 조회 649
13년 전 조회 938
13년 전 조회 673
13년 전 조회 531
13년 전 조회 894
13년 전 조회 1,028
13년 전 조회 1,055
13년 전 조회 812
13년 전 조회 1,790
13년 전 조회 988
13년 전 조회 558
13년 전 조회 792
13년 전 조회 1,399
13년 전 조회 873
13년 전 조회 521
13년 전 조회 1,057
13년 전 조회 1,435
13년 전 조회 552
13년 전 조회 533
13년 전 조회 455
13년 전 조회 782
13년 전 조회 508
13년 전 조회 965
13년 전 조회 994
13년 전 조회 1,406
13년 전 조회 601
13년 전 조회 880
13년 전 조회 4,496
13년 전 조회 1,120
13년 전 조회 456
13년 전 조회 530
13년 전 조회 687
13년 전 조회 1,150
13년 전 조회 465
13년 전 조회 1,392
13년 전 조회 1,636
13년 전 조회 515
13년 전 조회 423
13년 전 조회 587
13년 전 조회 2,191
13년 전 조회 439
13년 전 조회 583
13년 전 조회 445
13년 전 조회 451
13년 전 조회 919
13년 전 조회 1,107
13년 전 조회 459
13년 전 조회 563
13년 전 조회 1,007
13년 전 조회 451
13년 전 조회 1,214
13년 전 조회 1,536
13년 전 조회 3,976
13년 전 조회 965
13년 전 조회 1,177
13년 전 조회 648
13년 전 조회 577
13년 전 조회 653
13년 전 조회 1,019
13년 전 조회 2,226
13년 전 조회 713
13년 전 조회 1,725
13년 전 조회 1,808
13년 전 조회 2,055
13년 전 조회 811
13년 전 조회 1,086
13년 전 조회 812
13년 전 조회 928
13년 전 조회 848
13년 전 조회 695
13년 전 조회 818
13년 전 조회 890
13년 전 조회 975
13년 전 조회 1,778
13년 전 조회 485
13년 전 조회 861
13년 전 조회 625
13년 전 조회 425
13년 전 조회 882
13년 전 조회 2,892
13년 전 조회 1,959
13년 전 조회 1,537
13년 전 조회 490
13년 전 조회 1,119
13년 전 조회 1,956
13년 전 조회 1,097
13년 전 조회 1,119
13년 전 조회 842
13년 전 조회 1,041
13년 전 조회 2,030
13년 전 조회 526
13년 전 조회 897
13년 전 조회 2,186
🐛 버그신고