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,542
13년 전 조회 1,401
13년 전 조회 2,116
13년 전 조회 802
13년 전 조회 681
13년 전 조회 2,023
13년 전 조회 620
13년 전 조회 630
13년 전 조회 926
13년 전 조회 659
13년 전 조회 517
13년 전 조회 877
13년 전 조회 1,018
13년 전 조회 1,048
13년 전 조회 795
13년 전 조회 1,776
13년 전 조회 974
13년 전 조회 542
13년 전 조회 784
13년 전 조회 1,384
13년 전 조회 857
13년 전 조회 501
13년 전 조회 1,042
13년 전 조회 1,421
13년 전 조회 538
13년 전 조회 521
13년 전 조회 439
13년 전 조회 766
13년 전 조회 493
13년 전 조회 957
13년 전 조회 980
13년 전 조회 1,390
13년 전 조회 585
13년 전 조회 870
13년 전 조회 4,481
13년 전 조회 1,103
13년 전 조회 437
13년 전 조회 518
13년 전 조회 671
13년 전 조회 1,142
13년 전 조회 453
13년 전 조회 1,377
13년 전 조회 1,628
13년 전 조회 501
13년 전 조회 412
13년 전 조회 575
13년 전 조회 2,175
13년 전 조회 426
13년 전 조회 567
13년 전 조회 431
13년 전 조회 434
13년 전 조회 910
13년 전 조회 1,095
13년 전 조회 447
13년 전 조회 553
13년 전 조회 997
13년 전 조회 443
13년 전 조회 1,196
13년 전 조회 1,522
13년 전 조회 3,957
13년 전 조회 953
13년 전 조회 1,165
13년 전 조회 635
13년 전 조회 571
13년 전 조회 642
13년 전 조회 1,005
13년 전 조회 2,216
13년 전 조회 705
13년 전 조회 1,714
13년 전 조회 1,799
13년 전 조회 2,045
13년 전 조회 803
13년 전 조회 1,071
13년 전 조회 801
13년 전 조회 919
13년 전 조회 835
13년 전 조회 684
13년 전 조회 807
13년 전 조회 882
13년 전 조회 951
13년 전 조회 1,766
13년 전 조회 471
13년 전 조회 851
13년 전 조회 614
13년 전 조회 417
13년 전 조회 872
13년 전 조회 2,885
13년 전 조회 1,948
13년 전 조회 1,522
13년 전 조회 472
13년 전 조회 1,101
13년 전 조회 1,944
13년 전 조회 1,083
13년 전 조회 1,107
13년 전 조회 835
13년 전 조회 1,026
13년 전 조회 2,018
13년 전 조회 515
13년 전 조회 885
13년 전 조회 2,179
🐛 버그신고