umask

· 13년 전 · 1287
 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,552
13년 전 조회 2,390
13년 전 조회 3,080
13년 전 조회 1,750
13년 전 조회 1,634
13년 전 조회 3,013
13년 전 조회 1,599
13년 전 조회 1,579
13년 전 조회 1,904
13년 전 조회 1,613
13년 전 조회 1,485
13년 전 조회 1,847
13년 전 조회 2,005
13년 전 조회 2,013
13년 전 조회 1,785
13년 전 조회 2,657
13년 전 조회 1,909
13년 전 조회 1,479
13년 전 조회 1,747
13년 전 조회 2,286
13년 전 조회 1,798
13년 전 조회 1,417
13년 전 조회 1,953
13년 전 조회 2,420
13년 전 조회 1,450
13년 전 조회 1,503
13년 전 조회 1,385
13년 전 조회 1,743
13년 전 조회 1,425
13년 전 조회 1,890
13년 전 조회 1,956
13년 전 조회 2,349
13년 전 조회 1,572
13년 전 조회 1,781
13년 전 조회 5,463
13년 전 조회 2,018
13년 전 조회 1,386
13년 전 조회 1,401
13년 전 조회 1,582
13년 전 조회 2,013
13년 전 조회 1,352
13년 전 조회 2,314
13년 전 조회 2,559
13년 전 조회 1,441
13년 전 조회 1,349
13년 전 조회 1,499
13년 전 조회 3,086
13년 전 조회 1,318
13년 전 조회 1,443
13년 전 조회 1,288
13년 전 조회 1,302
13년 전 조회 1,817
13년 전 조회 2,019
13년 전 조회 1,331
13년 전 조회 1,425
13년 전 조회 1,858
13년 전 조회 1,349
13년 전 조회 2,084
13년 전 조회 2,444
13년 전 조회 4,863
13년 전 조회 1,867
13년 전 조회 2,079
13년 전 조회 1,516
13년 전 조회 1,470
13년 전 조회 1,521
13년 전 조회 1,895
13년 전 조회 3,086
13년 전 조회 1,601
13년 전 조회 2,638
13년 전 조회 2,667
13년 전 조회 2,984
13년 전 조회 1,697
13년 전 조회 2,010
13년 전 조회 1,701
13년 전 조회 1,816
13년 전 조회 1,705
13년 전 조회 1,585
13년 전 조회 1,698
13년 전 조회 1,754
13년 전 조회 1,877
13년 전 조회 2,674
13년 전 조회 1,345
13년 전 조회 1,733
13년 전 조회 1,491
13년 전 조회 1,267
13년 전 조회 1,726
13년 전 조회 3,710
13년 전 조회 2,823
13년 전 조회 2,387
13년 전 조회 1,350
13년 전 조회 1,980
13년 전 조회 2,818
13년 전 조회 1,939
13년 전 조회 2,014
13년 전 조회 1,718
13년 전 조회 1,892
13년 전 조회 2,870
13년 전 조회 1,352
13년 전 조회 1,718
13년 전 조회 3,047