umask

· 13년 전 · 1071
 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,241
13년 전 조회 2,109
13년 전 조회 2,767
13년 전 조회 1,467
13년 전 조회 1,357
13년 전 조회 2,735
13년 전 조회 1,323
13년 전 조회 1,290
13년 전 조회 1,611
13년 전 조회 1,337
13년 전 조회 1,209
13년 전 조회 1,612
13년 전 조회 1,735
13년 전 조회 1,740
13년 전 조회 1,494
13년 전 조회 2,484
13년 전 조회 1,660
13년 전 조회 1,232
13년 전 조회 1,475
13년 전 조회 2,059
13년 전 조회 1,545
13년 전 조회 1,190
13년 전 조회 1,713
13년 전 조회 2,229
13년 전 조회 1,233
13년 전 조회 1,229
13년 전 조회 1,119
13년 전 조회 1,454
13년 전 조회 1,136
13년 전 조회 1,737
13년 전 조회 1,687
13년 전 조회 2,177
13년 전 조회 1,308
13년 전 조회 1,525
13년 전 조회 5,259
13년 전 조회 1,772
13년 전 조회 1,117
13년 전 조회 1,171
13년 전 조회 1,346
13년 전 조회 1,785
13년 전 조회 1,122
13년 전 조회 2,057
13년 전 조회 2,298
13년 전 조회 1,186
13년 전 조회 1,081
13년 전 조회 1,232
13년 전 조회 2,834
13년 전 조회 1,075
13년 전 조회 1,209
13년 전 조회 1,072
13년 전 조회 1,055
13년 전 조회 1,547
13년 전 조회 1,747
13년 전 조회 1,053
13년 전 조회 1,174
13년 전 조회 1,615
13년 전 조회 1,064
13년 전 조회 1,843
13년 전 조회 2,186
13년 전 조회 4,600
13년 전 조회 1,588
13년 전 조회 1,815
13년 전 조회 1,259
13년 전 조회 1,208
13년 전 조회 1,270
13년 전 조회 1,660
13년 전 조회 2,829
13년 전 조회 1,353
13년 전 조회 2,360
13년 전 조회 2,453
13년 전 조회 2,805
13년 전 조회 1,445
13년 전 조회 1,744
13년 전 조회 1,460
13년 전 조회 1,548
13년 전 조회 1,458
13년 전 조회 1,320
13년 전 조회 1,468
13년 전 조회 1,491
13년 전 조회 1,592
13년 전 조회 2,412
13년 전 조회 1,094
13년 전 조회 1,464
13년 전 조회 1,228
13년 전 조회 1,002
13년 전 조회 1,487
13년 전 조회 3,457
13년 전 조회 2,571
13년 전 조회 2,130
13년 전 조회 1,082
13년 전 조회 1,725
13년 전 조회 2,544
13년 전 조회 1,665
13년 전 조회 1,720
13년 전 조회 1,473
13년 전 조회 1,633
13년 전 조회 2,623
13년 전 조회 1,099
13년 전 조회 1,459
13년 전 조회 2,814