umask

· 13년 전 · 1396
 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,700
13년 전 조회 2,549
13년 전 조회 3,217
13년 전 조회 1,907
13년 전 조회 1,783
13년 전 조회 3,135
13년 전 조회 1,730
13년 전 조회 1,711
13년 전 조회 2,040
13년 전 조회 1,759
13년 전 조회 1,633
13년 전 조회 1,965
13년 전 조회 2,145
13년 전 조회 2,146
13년 전 조회 1,919
13년 전 조회 2,761
13년 전 조회 2,025
13년 전 조회 1,595
13년 전 조회 1,919
13년 전 조회 2,388
13년 전 조회 1,949
13년 전 조회 1,533
13년 전 조회 2,075
13년 전 조회 2,530
13년 전 조회 1,552
13년 전 조회 1,673
13년 전 조회 1,542
13년 전 조회 1,904
13년 전 조회 1,596
13년 전 조회 1,999
13년 전 조회 2,101
13년 전 조회 2,455
13년 전 조회 1,709
13년 전 조회 1,965
13년 전 조회 5,617
13년 전 조회 2,123
13년 전 조회 1,563
13년 전 조회 1,528
13년 전 조회 1,694
13년 전 조회 2,153
13년 전 조회 1,464
13년 전 조회 2,452
13년 전 조회 2,724
13년 전 조회 1,589
13년 전 조회 1,510
13년 전 조회 1,656
13년 전 조회 3,230
13년 전 조회 1,446
13년 전 조회 1,573
13년 전 조회 1,397
13년 전 조회 1,455
13년 전 조회 1,967
13년 전 조회 2,180
13년 전 조회 1,484
13년 전 조회 1,601
13년 전 조회 2,008
13년 전 조회 1,492
13년 전 조회 2,232
13년 전 조회 2,588
13년 전 조회 4,986
13년 전 조회 2,009
13년 전 조회 2,230
13년 전 조회 1,684
13년 전 조회 1,623
13년 전 조회 1,664
13년 전 조회 2,044
13년 전 조회 3,258
13년 전 조회 1,732
13년 전 조회 2,779
13년 전 조회 2,815
13년 전 조회 3,128
13년 전 조회 1,844
13년 전 조회 2,155
13년 전 조회 1,854
13년 전 조회 1,937
13년 전 조회 1,846
13년 전 조회 1,718
13년 전 조회 1,836
13년 전 조회 1,916
13년 전 조회 2,016
13년 전 조회 2,816
13년 전 조회 1,497
13년 전 조회 1,878
13년 전 조회 1,647
13년 전 조회 1,416
13년 전 조회 1,874
13년 전 조회 3,863
13년 전 조회 2,955
13년 전 조회 2,539
13년 전 조회 1,509
13년 전 조회 2,128
13년 전 조회 2,982
13년 전 조회 2,079
13년 전 조회 2,138
13년 전 조회 1,855
13년 전 조회 2,026
13년 전 조회 3,025
13년 전 조회 1,533
13년 전 조회 1,883
13년 전 조회 3,178