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,518
13년 전 조회 1,372
13년 전 조회 2,094
13년 전 조회 778
13년 전 조회 652
13년 전 조회 1,997
13년 전 조회 594
13년 전 조회 609
13년 전 조회 904
13년 전 조회 640
13년 전 조회 490
13년 전 조회 857
13년 전 조회 994
13년 전 조회 1,020
13년 전 조회 775
13년 전 조회 1,765
13년 전 조회 947
13년 전 조회 524
13년 전 조회 763
13년 전 조회 1,364
13년 전 조회 838
13년 전 조회 476
13년 전 조회 1,017
13년 전 조회 1,404
13년 전 조회 521
13년 전 조회 494
13년 전 조회 419
13년 전 조회 735
13년 전 조회 468
13년 전 조회 931
13년 전 조회 961
13년 전 조회 1,372
13년 전 조회 560
13년 전 조회 845
13년 전 조회 4,457
13년 전 조회 1,083
13년 전 조회 422
13년 전 조회 495
13년 전 조회 652
13년 전 조회 1,118
13년 전 조회 427
13년 전 조회 1,362
13년 전 조회 1,609
13년 전 조회 477
13년 전 조회 389
13년 전 조회 543
13년 전 조회 2,151
13년 전 조회 400
13년 전 조회 545
13년 전 조회 407
13년 전 조회 410
13년 전 조회 888
13년 전 조회 1,074
13년 전 조회 417
13년 전 조회 533
13년 전 조회 973
13년 전 조회 420
13년 전 조회 1,176
13년 전 조회 1,495
13년 전 조회 3,941
13년 전 조회 930
13년 전 조회 1,145
13년 전 조회 615
13년 전 조회 543
13년 전 조회 619
13년 전 조회 984
13년 전 조회 2,195
13년 전 조회 682
13년 전 조회 1,697
13년 전 조회 1,778
13년 전 조회 2,027
13년 전 조회 780
13년 전 조회 1,052
13년 전 조회 778
13년 전 조회 899
13년 전 조회 807
13년 전 조회 665
13년 전 조회 784
13년 전 조회 860
13년 전 조회 929
13년 전 조회 1,742
13년 전 조회 449
13년 전 조회 824
13년 전 조회 596
13년 전 조회 402
13년 전 조회 853
13년 전 조회 2,867
13년 전 조회 1,930
13년 전 조회 1,496
13년 전 조회 456
13년 전 조회 1,086
13년 전 조회 1,926
13년 전 조회 1,057
13년 전 조회 1,082
13년 전 조회 821
13년 전 조회 1,000
13년 전 조회 1,995
13년 전 조회 497
13년 전 조회 862
13년 전 조회 2,162
🐛 버그신고