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,603
13년 전 조회 1,446
13년 전 조회 2,156
13년 전 조회 853
13년 전 조회 731
13년 전 조회 2,078
13년 전 조회 661
13년 전 조회 686
13년 전 조회 970
13년 전 조회 709
13년 전 조회 564
13년 전 조회 930
13년 전 조회 1,064
13년 전 조회 1,083
13년 전 조회 848
13년 전 조회 1,816
13년 전 조회 1,024
13년 전 조회 591
13년 전 조회 841
13년 전 조회 1,428
13년 전 조회 914
13년 전 조회 560
13년 전 조회 1,095
13년 전 조회 1,472
13년 전 조회 592
13년 전 조회 570
13년 전 조회 486
13년 전 조회 820
13년 전 조회 535
13년 전 조회 998
13년 전 조회 1,028
13년 전 조회 1,447
13년 전 조회 646
13년 전 조회 913
13년 전 조회 4,534
13년 전 조회 1,162
13년 전 조회 484
13년 전 조회 571
13년 전 조회 722
13년 전 조회 1,182
13년 전 조회 502
13년 전 조회 1,428
13년 전 조회 1,668
13년 전 조회 544
13년 전 조회 460
13년 전 조회 619
13년 전 조회 2,230
13년 전 조회 480
13년 전 조회 613
13년 전 조회 485
13년 전 조회 481
13년 전 조회 949
13년 전 조회 1,139
13년 전 조회 494
13년 전 조회 599
13년 전 조회 1,046
13년 전 조회 478
13년 전 조회 1,246
13년 전 조회 1,574
13년 전 조회 4,008
13년 전 조회 1,001
13년 전 조회 1,219
13년 전 조회 683
13년 전 조회 621
13년 전 조회 686
13년 전 조회 1,064
13년 전 조회 2,255
13년 전 조회 743
13년 전 조회 1,762
13년 전 조회 1,856
13년 전 조회 2,101
13년 전 조회 851
13년 전 조회 1,121
13년 전 조회 845
13년 전 조회 974
13년 전 조회 884
13년 전 조회 736
13년 전 조회 857
13년 전 조회 915
13년 전 조회 1,000
13년 전 조회 1,821
13년 전 조회 520
13년 전 조회 892
13년 전 조회 666
13년 전 조회 467
13년 전 조회 922
13년 전 조회 2,936
13년 전 조회 1,997
13년 전 조회 1,567
13년 전 조회 520
13년 전 조회 1,152
13년 전 조회 1,997
13년 전 조회 1,137
13년 전 조회 1,154
13년 전 조회 891
13년 전 조회 1,075
13년 전 조회 2,063
13년 전 조회 559
13년 전 조회 928
13년 전 조회 2,216
🐛 버그신고