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,504
13년 전 조회 1,354
13년 전 조회 2,085
13년 전 조회 759
13년 전 조회 636
13년 전 조회 1,977
13년 전 조회 573
13년 전 조회 588
13년 전 조회 885
13년 전 조회 618
13년 전 조회 473
13년 전 조회 837
13년 전 조회 971
13년 전 조회 1,001
13년 전 조회 755
13년 전 조회 1,759
13년 전 조회 928
13년 전 조회 505
13년 전 조회 744
13년 전 조회 1,344
13년 전 조회 820
13년 전 조회 457
13년 전 조회 997
13년 전 조회 1,386
13년 전 조회 500
13년 전 조회 473
13년 전 조회 401
13년 전 조회 714
13년 전 조회 453
13년 전 조회 910
13년 전 조회 945
13년 전 조회 1,350
13년 전 조회 534
13년 전 조회 825
13년 전 조회 4,439
13년 전 조회 1,060
13년 전 조회 405
13년 전 조회 477
13년 전 조회 634
13년 전 조회 1,101
13년 전 조회 408
13년 전 조회 1,343
13년 전 조회 1,588
13년 전 조회 459
13년 전 조회 369
13년 전 조회 525
13년 전 조회 2,134
13년 전 조회 381
13년 전 조회 526
13년 전 조회 387
13년 전 조회 388
13년 전 조회 872
13년 전 조회 1,055
13년 전 조회 401
13년 전 조회 509
13년 전 조회 955
13년 전 조회 408
13년 전 조회 1,156
13년 전 조회 1,481
13년 전 조회 3,924
13년 전 조회 912
13년 전 조회 1,128
13년 전 조회 599
13년 전 조회 524
13년 전 조회 600
13년 전 조회 966
13년 전 조회 2,176
13년 전 조회 662
13년 전 조회 1,679
13년 전 조회 1,760
13년 전 조회 2,009
13년 전 조회 764
13년 전 조회 1,032
13년 전 조회 760
13년 전 조회 880
13년 전 조회 788
13년 전 조회 650
13년 전 조회 767
13년 전 조회 842
13년 전 조회 910
13년 전 조회 1,724
13년 전 조회 435
13년 전 조회 806
13년 전 조회 580
13년 전 조회 383
13년 전 조회 842
13년 전 조회 2,854
13년 전 조회 1,919
13년 전 조회 1,481
13년 전 조회 443
13년 전 조회 1,068
13년 전 조회 1,910
13년 전 조회 1,043
13년 전 조회 1,067
13년 전 조회 807
13년 전 조회 983
13년 전 조회 1,982
13년 전 조회 483
13년 전 조회 846
13년 전 조회 2,143
🐛 버그신고