umask

· 13년 전 · 1404
 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,723
13년 전 조회 2,576
13년 전 조회 3,235
13년 전 조회 1,927
13년 전 조회 1,808
13년 전 조회 3,159
13년 전 조회 1,753
13년 전 조회 1,737
13년 전 조회 2,063
13년 전 조회 1,777
13년 전 조회 1,661
13년 전 조회 1,972
13년 전 조회 2,163
13년 전 조회 2,166
13년 전 조회 1,942
13년 전 조회 2,772
13년 전 조회 2,033
13년 전 조회 1,603
13년 전 조회 1,945
13년 전 조회 2,396
13년 전 조회 1,973
13년 전 조회 1,538
13년 전 조회 2,080
13년 전 조회 2,534
13년 전 조회 1,559
13년 전 조회 1,696
13년 전 조회 1,561
13년 전 조회 1,923
13년 전 조회 1,620
13년 전 조회 2,006
13년 전 조회 2,126
13년 전 조회 2,463
13년 전 조회 1,725
13년 전 조회 1,986
13년 전 조회 5,648
13년 전 조회 2,131
13년 전 조회 1,589
13년 전 조회 1,536
13년 전 조회 1,700
13년 전 조회 2,158
13년 전 조회 1,469
13년 전 조회 2,468
13년 전 조회 2,748
13년 전 조회 1,604
13년 전 조회 1,541
13년 전 조회 1,687
13년 전 조회 3,261
13년 전 조회 1,453
13년 전 조회 1,578
13년 전 조회 1,405
13년 전 조회 1,475
13년 전 조회 1,997
13년 전 조회 2,196
13년 전 조회 1,504
13년 전 조회 1,622
13년 전 조회 2,032
13년 전 조회 1,516
13년 전 조회 2,260
13년 전 조회 2,605
13년 전 조회 5,007
13년 전 조회 2,030
13년 전 조회 2,255
13년 전 조회 1,701
13년 전 조회 1,653
13년 전 조회 1,692
13년 전 조회 2,071
13년 전 조회 3,275
13년 전 조회 1,754
13년 전 조회 2,798
13년 전 조회 2,832
13년 전 조회 3,148
13년 전 조회 1,858
13년 전 조회 2,181
13년 전 조회 1,879
13년 전 조회 1,958
13년 전 조회 1,871
13년 전 조회 1,747
13년 전 조회 1,864
13년 전 조회 1,937
13년 전 조회 2,034
13년 전 조회 2,838
13년 전 조회 1,519
13년 전 조회 1,894
13년 전 조회 1,680
13년 전 조회 1,443
13년 전 조회 1,891
13년 전 조회 3,889
13년 전 조회 2,969
13년 전 조회 2,563
13년 전 조회 1,534
13년 전 조회 2,151
13년 전 조회 3,007
13년 전 조회 2,106
13년 전 조회 2,159
13년 전 조회 1,880
13년 전 조회 2,039
13년 전 조회 3,042
13년 전 조회 1,557
13년 전 조회 1,904
13년 전 조회 3,199