umask

· 13년 전 · 1476
 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,822
13년 전 조회 2,689
13년 전 조회 3,360
13년 전 조회 2,032
13년 전 조회 1,908
13년 전 조회 3,289
13년 전 조회 1,860
13년 전 조회 1,846
13년 전 조회 2,161
13년 전 조회 1,884
13년 전 조회 1,768
13년 전 조회 2,041
13년 전 조회 2,266
13년 전 조회 2,272
13년 전 조회 2,029
13년 전 조회 2,825
13년 전 조회 2,087
13년 전 조회 1,661
13년 전 조회 2,057
13년 전 조회 2,453
13년 전 조회 2,086
13년 전 조회 1,597
13년 전 조회 2,146
13년 전 조회 2,600
13년 전 조회 1,623
13년 전 조회 1,798
13년 전 조회 1,671
13년 전 조회 2,021
13년 전 조회 1,719
13년 전 조회 2,070
13년 전 조회 2,227
13년 전 조회 2,525
13년 전 조회 1,848
13년 전 조회 2,110
13년 전 조회 5,767
13년 전 조회 2,194
13년 전 조회 1,703
13년 전 조회 1,601
13년 전 조회 1,770
13년 전 조회 2,222
13년 전 조회 1,539
13년 전 조회 2,596
13년 전 조회 2,879
13년 전 조회 1,729
13년 전 조회 1,685
13년 전 조회 1,806
13년 전 조회 3,397
13년 전 조회 1,506
13년 전 조회 1,637
13년 전 조회 1,477
13년 전 조회 1,598
13년 전 조회 2,105
13년 전 조회 2,301
13년 전 조회 1,622
13년 전 조회 1,740
13년 전 조회 2,163
13년 전 조회 1,628
13년 전 조회 2,373
13년 전 조회 2,723
13년 전 조회 5,138
13년 전 조회 2,132
13년 전 조회 2,374
13년 전 조회 1,820
13년 전 조회 1,770
13년 전 조회 1,809
13년 전 조회 2,197
13년 전 조회 3,400
13년 전 조회 1,875
13년 전 조회 2,911
13년 전 조회 2,955
13년 전 조회 3,272
13년 전 조회 1,961
13년 전 조회 2,287
13년 전 조회 1,978
13년 전 조회 2,091
13년 전 조회 1,990
13년 전 조회 1,869
13년 전 조회 1,971
13년 전 조회 2,044
13년 전 조회 2,133
13년 전 조회 2,948
13년 전 조회 1,639
13년 전 조회 1,998
13년 전 조회 1,793
13년 전 조회 1,567
13년 전 조회 2,009
13년 전 조회 4,011
13년 전 조회 3,089
13년 전 조회 2,673
13년 전 조회 1,641
13년 전 조회 2,266
13년 전 조회 3,128
13년 전 조회 2,227
13년 전 조회 2,274
13년 전 조회 1,999
13년 전 조회 2,155
13년 전 조회 3,177
13년 전 조회 1,684
13년 전 조회 2,014
13년 전 조회 3,335