umask

· 13년 전 · 1469
 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,810
13년 전 조회 2,674
13년 전 조회 3,348
13년 전 조회 2,022
13년 전 조회 1,902
13년 전 조회 3,271
13년 전 조회 1,848
13년 전 조회 1,832
13년 전 조회 2,155
13년 전 조회 1,881
13년 전 조회 1,758
13년 전 조회 2,034
13년 전 조회 2,251
13년 전 조회 2,255
13년 전 조회 2,022
13년 전 조회 2,819
13년 전 조회 2,083
13년 전 조회 1,654
13년 전 조회 2,039
13년 전 조회 2,449
13년 전 조회 2,074
13년 전 조회 1,595
13년 전 조회 2,140
13년 전 조회 2,592
13년 전 조회 1,616
13년 전 조회 1,788
13년 전 조회 1,666
13년 전 조회 2,015
13년 전 조회 1,711
13년 전 조회 2,063
13년 전 조회 2,214
13년 전 조회 2,520
13년 전 조회 1,837
13년 전 조회 2,096
13년 전 조회 5,751
13년 전 조회 2,189
13년 전 조회 1,693
13년 전 조회 1,592
13년 전 조회 1,762
13년 전 조회 2,213
13년 전 조회 1,533
13년 전 조회 2,583
13년 전 조회 2,864
13년 전 조회 1,709
13년 전 조회 1,667
13년 전 조회 1,790
13년 전 조회 3,381
13년 전 조회 1,499
13년 전 조회 1,634
13년 전 조회 1,470
13년 전 조회 1,582
13년 전 조회 2,093
13년 전 조회 2,287
13년 전 조회 1,609
13년 전 조회 1,725
13년 전 조회 2,153
13년 전 조회 1,617
13년 전 조회 2,366
13년 전 조회 2,709
13년 전 조회 5,121
13년 전 조회 2,120
13년 전 조회 2,357
13년 전 조회 1,806
13년 전 조회 1,759
13년 전 조회 1,797
13년 전 조회 2,182
13년 전 조회 3,383
13년 전 조회 1,865
13년 전 조회 2,891
13년 전 조회 2,936
13년 전 조회 3,259
13년 전 조회 1,943
13년 전 조회 2,267
13년 전 조회 1,962
13년 전 조회 2,079
13년 전 조회 1,967
13년 전 조회 1,852
13년 전 조회 1,959
13년 전 조회 2,026
13년 전 조회 2,121
13년 전 조회 2,932
13년 전 조회 1,623
13년 전 조회 1,978
13년 전 조회 1,782
13년 전 조회 1,552
13년 전 조회 1,994
13년 전 조회 3,997
13년 전 조회 3,071
13년 전 조회 2,659
13년 전 조회 1,624
13년 전 조회 2,250
13년 전 조회 3,111
13년 전 조회 2,202
13년 전 조회 2,260
13년 전 조회 1,983
13년 전 조회 2,146
13년 전 조회 3,158
13년 전 조회 1,668
13년 전 조회 2,002
13년 전 조회 3,325