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,362
13년 전 조회 2,091
13년 전 조회 769
13년 전 조회 642
13년 전 조회 1,983
13년 전 조회 583
13년 전 조회 598
13년 전 조회 890
13년 전 조회 624
13년 전 조회 480
13년 전 조회 846
13년 전 조회 981
13년 전 조회 1,007
13년 전 조회 764
13년 전 조회 1,762
13년 전 조회 938
13년 전 조회 511
13년 전 조회 755
13년 전 조회 1,357
13년 전 조회 827
13년 전 조회 463
13년 전 조회 1,006
13년 전 조회 1,395
13년 전 조회 508
13년 전 조회 481
13년 전 조회 408
13년 전 조회 723
13년 전 조회 458
13년 전 조회 920
13년 전 조회 951
13년 전 조회 1,361
13년 전 조회 546
13년 전 조회 834
13년 전 조회 4,445
13년 전 조회 1,071
13년 전 조회 415
13년 전 조회 487
13년 전 조회 643
13년 전 조회 1,108
13년 전 조회 417
13년 전 조회 1,349
13년 전 조회 1,598
13년 전 조회 468
13년 전 조회 379
13년 전 조회 534
13년 전 조회 2,143
13년 전 조회 388
13년 전 조회 534
13년 전 조회 396
13년 전 조회 396
13년 전 조회 882
13년 전 조회 1,060
13년 전 조회 409
13년 전 조회 520
13년 전 조회 964
13년 전 조회 411
13년 전 조회 1,162
13년 전 조회 1,486
13년 전 조회 3,933
13년 전 조회 916
13년 전 조회 1,135
13년 전 조회 602
13년 전 조회 532
13년 전 조회 609
13년 전 조회 974
13년 전 조회 2,184
13년 전 조회 671
13년 전 조회 1,685
13년 전 조회 1,766
13년 전 조회 2,016
13년 전 조회 770
13년 전 조회 1,041
13년 전 조회 768
13년 전 조회 888
13년 전 조회 797
13년 전 조회 657
13년 전 조회 773
13년 전 조회 851
13년 전 조회 917
13년 전 조회 1,730
13년 전 조회 439
13년 전 조회 815
13년 전 조회 586
13년 전 조회 390
13년 전 조회 847
13년 전 조회 2,856
13년 전 조회 1,925
13년 전 조회 1,483
13년 전 조회 445
13년 전 조회 1,074
13년 전 조회 1,915
13년 전 조회 1,049
13년 전 조회 1,075
13년 전 조회 810
13년 전 조회 988
13년 전 조회 1,988
13년 전 조회 486
13년 전 조회 854
13년 전 조회 2,147
🐛 버그신고