umask

· 13년 전 · 1423
 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,743
13년 전 조회 2,599
13년 전 조회 3,267
13년 전 조회 1,953
13년 전 조회 1,829
13년 전 조회 3,187
13년 전 조회 1,778
13년 전 조회 1,762
13년 전 조회 2,081
13년 전 조회 1,807
13년 전 조회 1,690
13년 전 조회 1,989
13년 전 조회 2,192
13년 전 조회 2,197
13년 전 조회 1,965
13년 전 조회 2,782
13년 전 조회 2,044
13년 전 조회 1,614
13년 전 조회 1,973
13년 전 조회 2,416
13년 전 조회 1,999
13년 전 조회 1,557
13년 전 조회 2,100
13년 전 조회 2,549
13년 전 조회 1,571
13년 전 조회 1,717
13년 전 조회 1,595
13년 전 조회 1,952
13년 전 조회 1,651
13년 전 조회 2,019
13년 전 조회 2,153
13년 전 조회 2,476
13년 전 조회 1,765
13년 전 조회 2,018
13년 전 조회 5,686
13년 전 조회 2,148
13년 전 조회 1,626
13년 전 조회 1,553
13년 전 조회 1,715
13년 전 조회 2,176
13년 전 조회 1,484
13년 전 조회 2,506
13년 전 조회 2,781
13년 전 조회 1,629
13년 전 조회 1,580
13년 전 조회 1,716
13년 전 조회 3,300
13년 전 조회 1,467
13년 전 조회 1,594
13년 전 조회 1,424
13년 전 조회 1,499
13년 전 조회 2,022
13년 전 조회 2,215
13년 전 조회 1,541
13년 전 조회 1,653
13년 전 조회 2,076
13년 전 조회 1,549
13년 전 조회 2,284
13년 전 조회 2,635
13년 전 조회 5,040
13년 전 조회 2,056
13년 전 조회 2,293
13년 전 조회 1,729
13년 전 조회 1,681
13년 전 조회 1,722
13년 전 조회 2,114
13년 전 조회 3,306
13년 전 조회 1,792
13년 전 조회 2,827
13년 전 조회 2,865
13년 전 조회 3,185
13년 전 조회 1,882
13년 전 조회 2,208
13년 전 조회 1,901
13년 전 조회 1,988
13년 전 조회 1,904
13년 전 조회 1,781
13년 전 조회 1,893
13년 전 조회 1,962
13년 전 조회 2,066
13년 전 조회 2,868
13년 전 조회 1,555
13년 전 조회 1,926
13년 전 조회 1,714
13년 전 조회 1,480
13년 전 조회 1,925
13년 전 조회 3,923
13년 전 조회 3,007
13년 전 조회 2,595
13년 전 조회 1,561
13년 전 조회 2,182
13년 전 조회 3,048
13년 전 조회 2,145
13년 전 조회 2,197
13년 전 조회 1,923
13년 전 조회 2,071
13년 전 조회 3,076
13년 전 조회 1,594
13년 전 조회 1,941
13년 전 조회 3,241