umask

· 13년 전 · 1388
 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년 전 조회 2,659
13년 전 조회 2,507
13년 전 조회 3,165
13년 전 조회 1,861
13년 전 조회 1,744
13년 전 조회 3,102
13년 전 조회 1,688
13년 전 조회 1,675
13년 전 조회 2,002
13년 전 조회 1,717
13년 전 조회 1,590
13년 전 조회 1,962
13년 전 조회 2,101
13년 전 조회 2,107
13년 전 조회 1,869
13년 전 조회 2,756
13년 전 조회 2,016
13년 전 조회 1,586
13년 전 조회 1,860
13년 전 조회 2,382
13년 전 조회 1,903
13년 전 조회 1,526
13년 전 조회 2,068
13년 전 조회 2,524
13년 전 조회 1,546
13년 전 조회 1,615
13년 전 조회 1,503
13년 전 조회 1,849
13년 전 조회 1,539
13년 전 조회 1,995
13년 전 조회 2,055
13년 전 조회 2,449
13년 전 조회 1,659
13년 전 조회 1,916
13년 전 조회 5,565
13년 전 조회 2,116
13년 전 조회 1,514
13년 전 조회 1,520
13년 전 조회 1,689
13년 전 조회 2,149
13년 전 조회 1,458
13년 전 조회 2,398
13년 전 조회 2,668
13년 전 조회 1,529
13년 전 조회 1,446
13년 전 조회 1,607
13년 전 조회 3,172
13년 전 조회 1,436
13년 전 조회 1,566
13년 전 조회 1,389
13년 전 조회 1,409
13년 전 조회 1,915
13년 전 조회 2,124
13년 전 조회 1,436
13년 전 조회 1,554
13년 전 조회 1,957
13년 전 조회 1,441
13년 전 조회 2,187
13년 전 조회 2,546
13년 전 조회 4,940
13년 전 조회 1,961
13년 전 조회 2,175
13년 전 조회 1,625
13년 전 조회 1,575
13년 전 조회 1,626
13년 전 조회 1,992
13년 전 조회 3,199
13년 전 조회 1,692
13년 전 조회 2,734
13년 전 조회 2,769
13년 전 조회 3,072
13년 전 조회 1,795
13년 전 조회 2,103
13년 전 조회 1,799
13년 전 조회 1,890
13년 전 조회 1,798
13년 전 조회 1,667
13년 전 조회 1,782
13년 전 조회 1,863
13년 전 조회 1,968
13년 전 조회 2,779
13년 전 조회 1,439
13년 전 조회 1,838
13년 전 조회 1,600
13년 전 조회 1,372
13년 전 조회 1,822
13년 전 조회 3,814
13년 전 조회 2,905
13년 전 조회 2,493
13년 전 조회 1,450
13년 전 조회 2,084
13년 전 조회 2,932
13년 전 조회 2,023
13년 전 조회 2,102
13년 전 조회 1,810
13년 전 조회 1,984
13년 전 조회 2,968
13년 전 조회 1,480
13년 전 조회 1,820
13년 전 조회 3,132