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,509
13년 전 조회 1,363
13년 전 조회 2,091
13년 전 조회 770
13년 전 조회 642
13년 전 조회 1,986
13년 전 조회 583
13년 전 조회 598
13년 전 조회 891
13년 전 조회 625
13년 전 조회 480
13년 전 조회 848
13년 전 조회 982
13년 전 조회 1,008
13년 전 조회 766
13년 전 조회 1,762
13년 전 조회 939
13년 전 조회 514
13년 전 조회 755
13년 전 조회 1,357
13년 전 조회 829
13년 전 조회 466
13년 전 조회 1,007
13년 전 조회 1,396
13년 전 조회 510
13년 전 조회 485
13년 전 조회 409
13년 전 조회 725
13년 전 조회 460
13년 전 조회 921
13년 전 조회 952
13년 전 조회 1,362
13년 전 조회 546
13년 전 조회 835
13년 전 조회 4,447
13년 전 조회 1,072
13년 전 조회 416
13년 전 조회 488
13년 전 조회 644
13년 전 조회 1,108
13년 전 조회 419
13년 전 조회 1,349
13년 전 조회 1,599
13년 전 조회 469
13년 전 조회 380
13년 전 조회 536
13년 전 조회 2,145
13년 전 조회 391
13년 전 조회 537
13년 전 조회 397
13년 전 조회 397
13년 전 조회 883
13년 전 조회 1,064
13년 전 조회 411
13년 전 조회 520
13년 전 조회 964
13년 전 조회 412
13년 전 조회 1,164
13년 전 조회 1,486
13년 전 조회 3,934
13년 전 조회 919
13년 전 조회 1,137
13년 전 조회 603
13년 전 조회 533
13년 전 조회 609
13년 전 조회 975
13년 전 조회 2,184
13년 전 조회 672
13년 전 조회 1,686
13년 전 조회 1,767
13년 전 조회 2,017
13년 전 조회 772
13년 전 조회 1,042
13년 전 조회 770
13년 전 조회 888
13년 전 조회 797
13년 전 조회 659
13년 전 조회 774
13년 전 조회 851
13년 전 조회 918
13년 전 조회 1,730
13년 전 조회 440
13년 전 조회 816
13년 전 조회 588
13년 전 조회 391
13년 전 조회 848
13년 전 조회 2,856
13년 전 조회 1,925
13년 전 조회 1,485
13년 전 조회 445
13년 전 조회 1,075
13년 전 조회 1,917
13년 전 조회 1,051
13년 전 조회 1,076
13년 전 조회 811
13년 전 조회 990
13년 전 조회 1,989
13년 전 조회 488
13년 전 조회 854
13년 전 조회 2,150
🐛 버그신고