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,508
13년 전 조회 1,360
13년 전 조회 2,090
13년 전 조회 766
13년 전 조회 640
13년 전 조회 1,983
13년 전 조회 581
13년 전 조회 595
13년 전 조회 889
13년 전 조회 622
13년 전 조회 479
13년 전 조회 843
13년 전 조회 979
13년 전 조회 1,007
13년 전 조회 763
13년 전 조회 1,762
13년 전 조회 937
13년 전 조회 511
13년 전 조회 751
13년 전 조회 1,353
13년 전 조회 826
13년 전 조회 462
13년 전 조회 1,005
13년 전 조회 1,392
13년 전 조회 506
13년 전 조회 480
13년 전 조회 407
13년 전 조회 721
13년 전 조회 458
13년 전 조회 918
13년 전 조회 950
13년 전 조회 1,358
13년 전 조회 542
13년 전 조회 831
13년 전 조회 4,444
13년 전 조회 1,069
13년 전 조회 413
13년 전 조회 483
13년 전 조회 641
13년 전 조회 1,105
13년 전 조회 415
13년 전 조회 1,348
13년 전 조회 1,595
13년 전 조회 466
13년 전 조회 376
13년 전 조회 532
13년 전 조회 2,140
13년 전 조회 386
13년 전 조회 532
13년 전 조회 394
13년 전 조회 395
13년 전 조회 879
13년 전 조회 1,059
13년 전 조회 406
13년 전 조회 517
13년 전 조회 961
13년 전 조회 410
13년 전 조회 1,161
13년 전 조회 1,486
13년 전 조회 3,931
13년 전 조회 916
13년 전 조회 1,133
13년 전 조회 602
13년 전 조회 531
13년 전 조회 606
13년 전 조회 972
13년 전 조회 2,183
13년 전 조회 669
13년 전 조회 1,685
13년 전 조회 1,766
13년 전 조회 2,014
13년 전 조회 768
13년 전 조회 1,038
13년 전 조회 767
13년 전 조회 885
13년 전 조회 796
13년 전 조회 655
13년 전 조회 769
13년 전 조회 848
13년 전 조회 916
13년 전 조회 1,729
13년 전 조회 438
13년 전 조회 813
13년 전 조회 585
13년 전 조회 386
13년 전 조회 844
13년 전 조회 2,855
13년 전 조회 1,921
13년 전 조회 1,482
13년 전 조회 445
13년 전 조회 1,071
13년 전 조회 1,914
13년 전 조회 1,047
13년 전 조회 1,074
13년 전 조회 809
13년 전 조회 986
13년 전 조회 1,985
13년 전 조회 486
13년 전 조회 851
13년 전 조회 2,147
🐛 버그신고