umask

· 13년 전 · 1408
 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,729
13년 전 조회 2,580
13년 전 조회 3,241
13년 전 조회 1,933
13년 전 조회 1,812
13년 전 조회 3,165
13년 전 조회 1,758
13년 전 조회 1,745
13년 전 조회 2,066
13년 전 조회 1,782
13년 전 조회 1,671
13년 전 조회 1,975
13년 전 조회 2,170
13년 전 조회 2,175
13년 전 조회 1,947
13년 전 조회 2,774
13년 전 조회 2,034
13년 전 조회 1,605
13년 전 조회 1,954
13년 전 조회 2,399
13년 전 조회 1,980
13년 전 조회 1,541
13년 전 조회 2,087
13년 전 조회 2,535
13년 전 조회 1,561
13년 전 조회 1,699
13년 전 조회 1,566
13년 전 조회 1,932
13년 전 조회 1,632
13년 전 조회 2,012
13년 전 조회 2,136
13년 전 조회 2,465
13년 전 조회 1,736
13년 전 조회 1,995
13년 전 조회 5,655
13년 전 조회 2,134
13년 전 조회 1,600
13년 전 조회 1,538
13년 전 조회 1,703
13년 전 조회 2,159
13년 전 조회 1,475
13년 전 조회 2,475
13년 전 조회 2,751
13년 전 조회 1,608
13년 전 조회 1,545
13년 전 조회 1,694
13년 전 조회 3,273
13년 전 조회 1,455
13년 전 조회 1,582
13년 전 조회 1,409
13년 전 조회 1,481
13년 전 조회 2,003
13년 전 조회 2,201
13년 전 조회 1,513
13년 전 조회 1,633
13년 전 조회 2,047
13년 전 조회 1,525
13년 전 조회 2,266
13년 전 조회 2,615
13년 전 조회 5,015
13년 전 조회 2,033
13년 전 조회 2,260
13년 전 조회 1,709
13년 전 조회 1,658
13년 전 조회 1,696
13년 전 조회 2,088
13년 전 조회 3,287
13년 전 조회 1,763
13년 전 조회 2,805
13년 전 조회 2,839
13년 전 조회 3,155
13년 전 조회 1,865
13년 전 조회 2,188
13년 전 조회 1,882
13년 전 조회 1,967
13년 전 조회 1,880
13년 전 조회 1,756
13년 전 조회 1,873
13년 전 조회 1,944
13년 전 조회 2,041
13년 전 조회 2,848
13년 전 조회 1,525
13년 전 조회 1,899
13년 전 조회 1,685
13년 전 조회 1,446
13년 전 조회 1,896
13년 전 조회 3,895
13년 전 조회 2,979
13년 전 조회 2,570
13년 전 조회 1,540
13년 전 조회 2,159
13년 전 조회 3,018
13년 전 조회 2,118
13년 전 조회 2,170
13년 전 조회 1,889
13년 전 조회 2,046
13년 전 조회 3,051
13년 전 조회 1,565
13년 전 조회 1,914
13년 전 조회 3,211