umask

· 13년 전 · 1415
 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,739
13년 전 조회 2,595
13년 전 조회 3,258
13년 전 조회 1,949
13년 전 조회 1,824
13년 전 조회 3,181
13년 전 조회 1,772
13년 전 조회 1,756
13년 전 조회 2,072
13년 전 조회 1,796
13년 전 조회 1,682
13년 전 조회 1,982
13년 전 조회 2,190
13년 전 조회 2,189
13년 전 조회 1,957
13년 전 조회 2,777
13년 전 조회 2,038
13년 전 조회 1,610
13년 전 조회 1,964
13년 전 조회 2,407
13년 전 조회 1,988
13년 전 조회 1,549
13년 전 조회 2,095
13년 전 조회 2,541
13년 전 조회 1,567
13년 전 조회 1,713
13년 전 조회 1,580
13년 전 조회 1,943
13년 전 조회 1,644
13년 전 조회 2,017
13년 전 조회 2,145
13년 전 조회 2,472
13년 전 조회 1,754
13년 전 조회 2,007
13년 전 조회 5,670
13년 전 조회 2,142
13년 전 조회 1,617
13년 전 조회 1,547
13년 전 조회 1,710
13년 전 조회 2,171
13년 전 조회 1,480
13년 전 조회 2,489
13년 전 조회 2,767
13년 전 조회 1,618
13년 전 조회 1,568
13년 전 조회 1,701
13년 전 조회 3,289
13년 전 조회 1,459
13년 전 조회 1,590
13년 전 조회 1,416
13년 전 조회 1,492
13년 전 조회 2,013
13년 전 조회 2,211
13년 전 조회 1,530
13년 전 조회 1,642
13년 전 조회 2,061
13년 전 조회 1,539
13년 전 조회 2,275
13년 전 조회 2,626
13년 전 조회 5,034
13년 전 조회 2,045
13년 전 조회 2,277
13년 전 조회 1,724
13년 전 조회 1,674
13년 전 조회 1,713
13년 전 조회 2,101
13년 전 조회 3,298
13년 전 조회 1,784
13년 전 조회 2,815
13년 전 조회 2,854
13년 전 조회 3,174
13년 전 조회 1,876
13년 전 조회 2,200
13년 전 조회 1,893
13년 전 조회 1,979
13년 전 조회 1,894
13년 전 조회 1,772
13년 전 조회 1,884
13년 전 조회 1,950
13년 전 조회 2,061
13년 전 조회 2,858
13년 전 조회 1,544
13년 전 조회 1,910
13년 전 조회 1,702
13년 전 조회 1,466
13년 전 조회 1,913
13년 전 조회 3,908
13년 전 조회 2,996
13년 전 조회 2,580
13년 전 조회 1,552
13년 전 조회 2,170
13년 전 조회 3,034
13년 전 조회 2,134
13년 전 조회 2,184
13년 전 조회 1,909
13년 전 조회 2,061
13년 전 조회 3,061
13년 전 조회 1,582
13년 전 조회 1,926
13년 전 조회 3,225