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,596
13년 전 조회 1,436
13년 전 조회 2,150
13년 전 조회 847
13년 전 조회 724
13년 전 조회 2,065
13년 전 조회 658
13년 전 조회 679
13년 전 조회 966
13년 전 조회 702
13년 전 조회 560
13년 전 조회 920
13년 전 조회 1,054
13년 전 조회 1,075
13년 전 조회 834
13년 전 조회 1,811
13년 전 조회 1,018
13년 전 조회 583
13년 전 조회 830
13년 전 조회 1,421
13년 전 조회 908
13년 전 조회 554
13년 전 조회 1,087
13년 전 조회 1,463
13년 전 조회 584
13년 전 조회 559
13년 전 조회 478
13년 전 조회 807
13년 전 조회 526
13년 전 조회 986
13년 전 조회 1,021
13년 전 조회 1,439
13년 전 조회 636
13년 전 조회 908
13년 전 조회 4,527
13년 전 조회 1,152
13년 전 조회 475
13년 전 조회 561
13년 전 조회 717
13년 전 조회 1,173
13년 전 조회 492
13년 전 조회 1,425
13년 전 조회 1,660
13년 전 조회 534
13년 전 조회 453
13년 전 조회 615
13년 전 조회 2,225
13년 전 조회 469
13년 전 조회 607
13년 전 조회 476
13년 전 조회 472
13년 전 조회 940
13년 전 조회 1,134
13년 전 조회 485
13년 전 조회 589
13년 전 조회 1,039
13년 전 조회 470
13년 전 조회 1,238
13년 전 조회 1,566
13년 전 조회 3,999
13년 전 조회 991
13년 전 조회 1,202
13년 전 조회 671
13년 전 조회 607
13년 전 조회 675
13년 전 조회 1,048
13년 전 조회 2,251
13년 전 조회 734
13년 전 조회 1,756
13년 전 조회 1,844
13년 전 조회 2,095
13년 전 조회 842
13년 전 조회 1,112
13년 전 조회 835
13년 전 조회 965
13년 전 조회 877
13년 전 조회 721
13년 전 조회 849
13년 전 조회 910
13년 전 조회 992
13년 전 조회 1,809
13년 전 조회 513
13년 전 조회 880
13년 전 조회 654
13년 전 조회 458
13년 전 조회 913
13년 전 조회 2,925
13년 전 조회 1,986
13년 전 조회 1,556
13년 전 조회 515
13년 전 조회 1,143
13년 전 조회 1,985
13년 전 조회 1,125
13년 전 조회 1,145
13년 전 조회 880
13년 전 조회 1,065
13년 전 조회 2,055
13년 전 조회 554
13년 전 조회 921
13년 전 조회 2,209
🐛 버그신고