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,512
13년 전 조회 1,365
13년 전 조회 2,093
13년 전 조회 772
13년 전 조회 645
13년 전 조회 1,989
13년 전 조회 584
13년 전 조회 599
13년 전 조회 893
13년 전 조회 627
13년 전 조회 483
13년 전 조회 848
13년 전 조회 983
13년 전 조회 1,011
13년 전 조회 770
13년 전 조회 1,762
13년 전 조회 941
13년 전 조회 516
13년 전 조회 756
13년 전 조회 1,358
13년 전 조회 832
13년 전 조회 469
13년 전 조회 1,009
13년 전 조회 1,400
13년 전 조회 514
13년 전 조회 487
13년 전 조회 411
13년 전 조회 727
13년 전 조회 462
13년 전 조회 923
13년 전 조회 956
13년 전 조회 1,364
13년 전 조회 548
13년 전 조회 837
13년 전 조회 4,449
13년 전 조회 1,075
13년 전 조회 418
13년 전 조회 491
13년 전 조회 647
13년 전 조회 1,110
13년 전 조회 420
13년 전 조회 1,351
13년 전 조회 1,601
13년 전 조회 470
13년 전 조회 381
13년 전 조회 536
13년 전 조회 2,146
13년 전 조회 393
13년 전 조회 539
13년 전 조회 400
13년 전 조회 402
13년 전 조회 883
13년 전 조회 1,068
13년 전 조회 412
13년 전 조회 521
13년 전 조회 967
13년 전 조회 415
13년 전 조회 1,167
13년 전 조회 1,489
13년 전 조회 3,934
13년 전 조회 919
13년 전 조회 1,139
13년 전 조회 607
13년 전 조회 536
13년 전 조회 611
13년 전 조회 977
13년 전 조회 2,189
13년 전 조회 675
13년 전 조회 1,689
13년 전 조회 1,770
13년 전 조회 2,019
13년 전 조회 773
13년 전 조회 1,046
13년 전 조회 773
13년 전 조회 890
13년 전 조회 798
13년 전 조회 661
13년 전 조회 775
13년 전 조회 853
13년 전 조회 921
13년 전 조회 1,736
13년 전 조회 444
13년 전 조회 819
13년 전 조회 593
13년 전 조회 395
13년 전 조회 848
13년 전 조회 2,859
13년 전 조회 1,926
13년 전 조회 1,488
13년 전 조회 447
13년 전 조회 1,077
13년 전 조회 1,918
13년 전 조회 1,055
13년 전 조회 1,078
13년 전 조회 813
13년 전 조회 993
13년 전 조회 1,991
13년 전 조회 493
13년 전 조회 857
13년 전 조회 2,151
🐛 버그신고