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,540
13년 전 조회 1,396
13년 전 조회 2,113
13년 전 조회 801
13년 전 조회 674
13년 전 조회 2,014
13년 전 조회 616
13년 전 조회 628
13년 전 조회 921
13년 전 조회 656
13년 전 조회 512
13년 전 조회 876
13년 전 조회 1,017
13년 전 조회 1,042
13년 전 조회 793
13년 전 조회 1,774
13년 전 조회 966
13년 전 조회 539
13년 전 조회 781
13년 전 조회 1,381
13년 전 조회 855
13년 전 조회 499
13년 전 조회 1,036
13년 전 조회 1,420
13년 전 조회 534
13년 전 조회 517
13년 전 조회 436
13년 전 조회 762
13년 전 조회 489
13년 전 조회 949
13년 전 조회 979
13년 전 조회 1,388
13년 전 조회 580
13년 전 조회 868
13년 전 조회 4,476
13년 전 조회 1,099
13년 전 조회 434
13년 전 조회 514
13년 전 조회 667
13년 전 조회 1,139
13년 전 조회 447
13년 전 조회 1,374
13년 전 조회 1,625
13년 전 조회 495
13년 전 조회 409
13년 전 조회 569
13년 전 조회 2,173
13년 전 조회 421
13년 전 조회 565
13년 전 조회 427
13년 전 조회 430
13년 전 조회 904
13년 전 조회 1,091
13년 전 조회 440
13년 전 조회 549
13년 전 조회 993
13년 전 조회 438
13년 전 조회 1,192
13년 전 조회 1,518
13년 전 조회 3,950
13년 전 조회 950
13년 전 조회 1,162
13년 전 조회 630
13년 전 조회 566
13년 전 조회 636
13년 전 조회 1,003
13년 전 조회 2,213
13년 전 조회 699
13년 전 조회 1,712
13년 전 조회 1,797
13년 전 조회 2,042
13년 전 조회 799
13년 전 조회 1,069
13년 전 조회 799
13년 전 조회 913
13년 전 조회 830
13년 전 조회 681
13년 전 조회 801
13년 전 조회 878
13년 전 조회 948
13년 전 조회 1,763
13년 전 조회 469
13년 전 조회 843
13년 전 조회 610
13년 전 조회 415
13년 전 조회 870
13년 전 조회 2,880
13년 전 조회 1,943
13년 전 조회 1,515
13년 전 조회 470
13년 전 조회 1,098
13년 전 조회 1,941
13년 전 조회 1,078
13년 전 조회 1,099
13년 전 조회 829
13년 전 조회 1,019
13년 전 조회 2,014
13년 전 조회 513
13년 전 조회 884
13년 전 조회 2,177
🐛 버그신고