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,563
13년 전 조회 1,414
13년 전 조회 2,127
13년 전 조회 826
13년 전 조회 700
13년 전 조회 2,037
13년 전 조회 637
13년 전 조회 651
13년 전 조회 941
13년 전 조회 677
13년 전 조회 532
13년 전 조회 895
13년 전 조회 1,033
13년 전 조회 1,058
13년 전 조회 815
13년 전 조회 1,792
13년 전 조회 990
13년 전 조회 559
13년 전 조회 798
13년 전 조회 1,403
13년 전 조회 873
13년 전 조회 525
13년 전 조회 1,061
13년 전 조회 1,436
13년 전 조회 554
13년 전 조회 534
13년 전 조회 461
13년 전 조회 786
13년 전 조회 511
13년 전 조회 965
13년 전 조회 995
13년 전 조회 1,408
13년 전 조회 606
13년 전 조회 884
13년 전 조회 4,504
13년 전 조회 1,126
13년 전 조회 458
13년 전 조회 533
13년 전 조회 690
13년 전 조회 1,152
13년 전 조회 468
13년 전 조회 1,396
13년 전 조회 1,640
13년 전 조회 519
13년 전 조회 428
13년 전 조회 590
13년 전 조회 2,196
13년 전 조회 443
13년 전 조회 588
13년 전 조회 452
13년 전 조회 456
13년 전 조회 922
13년 전 조회 1,108
13년 전 조회 462
13년 전 조회 568
13년 전 조회 1,011
13년 전 조회 453
13년 전 조회 1,215
13년 전 조회 1,542
13년 전 조회 3,980
13년 전 조회 967
13년 전 조회 1,181
13년 전 조회 653
13년 전 조회 583
13년 전 조회 656
13년 전 조회 1,022
13년 전 조회 2,230
13년 전 조회 714
13년 전 조회 1,727
13년 전 조회 1,812
13년 전 조회 2,063
13년 전 조회 813
13년 전 조회 1,089
13년 전 조회 816
13년 전 조회 932
13년 전 조회 853
13년 전 조회 697
13년 전 조회 822
13년 전 조회 895
13년 전 조회 978
13년 전 조회 1,781
13년 전 조회 487
13년 전 조회 864
13년 전 조회 626
13년 전 조회 430
13년 전 조회 883
13년 전 조회 2,894
13년 전 조회 1,963
13년 전 조회 1,538
13년 전 조회 491
13년 전 조회 1,123
13년 전 조회 1,957
13년 전 조회 1,101
13년 전 조회 1,122
13년 전 조회 848
13년 전 조회 1,042
13년 전 조회 2,031
13년 전 조회 526
13년 전 조회 898
13년 전 조회 2,189
🐛 버그신고