umask

 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년 전 조회 1,659
13년 전 조회 1,516
13년 전 조회 2,217
13년 전 조회 915
13년 전 조회 796
13년 전 조회 2,141
13년 전 조회 748
13년 전 조회 756
13년 전 조회 1,043
13년 전 조회 782
13년 전 조회 636
13년 전 조회 1,009
13년 전 조회 1,142
13년 전 조회 1,151
13년 전 조회 925
13년 전 조회 1,870
13년 전 조회 1,099
13년 전 조회 664
13년 전 조회 913
13년 전 조회 1,509
13년 전 조회 980
13년 전 조회 615
13년 전 조회 1,165
13년 전 조회 1,543
13년 전 조회 659
13년 전 조회 637
13년 전 조회 560
13년 전 조회 892
13년 전 조회 595
13년 전 조회 1,079
13년 전 조회 1,099
13년 전 조회 1,512
13년 전 조회 704
13년 전 조회 992
13년 전 조회 4,599
13년 전 조회 1,224
13년 전 조회 563
13년 전 조회 654
13년 전 조회 801
13년 전 조회 1,256
13년 전 조회 575
13년 전 조회 1,505
13년 전 조회 1,742
13년 전 조회 623
13년 전 조회 539
13년 전 조회 687
13년 전 조회 2,298
13년 전 조회 544
13년 전 조회 692
13년 전 조회 565
13년 전 조회 553
13년 전 조회 1,033
13년 전 조회 1,219
13년 전 조회 559
13년 전 조회 676
13년 전 조회 1,122
13년 전 조회 561
13년 전 조회 1,326
13년 전 조회 1,639
13년 전 조회 4,086
13년 전 조회 1,076
13년 전 조회 1,291
13년 전 조회 754
13년 전 조회 698
13년 전 조회 755
13년 전 조회 1,139
13년 전 조회 2,327
13년 전 조회 823
13년 전 조회 1,846
13년 전 조회 1,922
13년 전 조회 2,178
13년 전 조회 911
13년 전 조회 1,198
13년 전 조회 926
13년 전 조회 1,044
13년 전 조회 958
13년 전 조회 803
13년 전 조회 932
13년 전 조회 999
13년 전 조회 1,071
13년 전 조회 1,903
13년 전 조회 603
13년 전 조회 973
13년 전 조회 741
13년 전 조회 546
13년 전 조회 1,007
13년 전 조회 3,006
13년 전 조회 2,075
13년 전 조회 1,656
13년 전 조회 602
13년 전 조회 1,226
13년 전 조회 2,073
13년 전 조회 1,203
13년 전 조회 1,216
13년 전 조회 964
13년 전 조회 1,147
13년 전 조회 2,139
13년 전 조회 632
13년 전 조회 999
13년 전 조회 2,298