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,635
13년 전 조회 1,478
13년 전 조회 2,188
13년 전 조회 884
13년 전 조회 766
13년 전 조회 2,113
13년 전 조회 701
13년 전 조회 725
13년 전 조회 1,007
13년 전 조회 743
13년 전 조회 605
13년 전 조회 974
13년 전 조회 1,111
13년 전 조회 1,124
13년 전 조회 883
13년 전 조회 1,840
13년 전 조회 1,062
13년 전 조회 629
13년 전 조회 883
13년 전 조회 1,477
13년 전 조회 950
13년 전 조회 585
13년 전 조회 1,129
13년 전 조회 1,515
13년 전 조회 632
13년 전 조회 606
13년 전 조회 534
13년 전 조회 860
13년 전 조회 564
13년 전 조회 1,045
13년 전 조회 1,065
13년 전 조회 1,482
13년 전 조회 676
13년 전 조회 961
13년 전 조회 4,568
13년 전 조회 1,192
13년 전 조회 524
13년 전 조회 609
13년 전 조회 771
13년 전 조회 1,225
13년 전 조회 541
13년 전 조회 1,472
13년 전 조회 1,714
13년 전 조회 589
13년 전 조회 505
13년 전 조회 655
13년 전 조회 2,273
13년 전 조회 512
13년 전 조회 661
13년 전 조회 531
13년 전 조회 516
13년 전 조회 1,000
13년 전 조회 1,186
13년 전 조회 529
13년 전 조회 640
13년 전 조회 1,084
13년 전 조회 532
13년 전 조회 1,288
13년 전 조회 1,605
13년 전 조회 4,055
13년 전 조회 1,045
13년 전 조회 1,259
13년 전 조회 720
13년 전 조회 664
13년 전 조회 727
13년 전 조회 1,102
13년 전 조회 2,289
13년 전 조회 790
13년 전 조회 1,796
13년 전 조회 1,888
13년 전 조회 2,143
13년 전 조회 882
13년 전 조회 1,167
13년 전 조회 892
13년 전 조회 1,010
13년 전 조회 919
13년 전 조회 774
13년 전 조회 895
13년 전 조회 957
13년 전 조회 1,043
13년 전 조회 1,871
13년 전 조회 562
13년 전 조회 940
13년 전 조회 708
13년 전 조회 508
13년 전 조회 963
13년 전 조회 2,972
13년 전 조회 2,035
13년 전 조회 1,615
13년 전 조회 561
13년 전 조회 1,198
13년 전 조회 2,039
13년 전 조회 1,175
13년 전 조회 1,187
13년 전 조회 934
13년 전 조회 1,117
13년 전 조회 2,106
13년 전 조회 601
13년 전 조회 966
13년 전 조회 2,267
🐛 버그신고