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,523
13년 전 조회 1,379
13년 전 조회 2,094
13년 전 조회 785
13년 전 조회 654
13년 전 조회 1,998
13년 전 조회 596
13년 전 조회 614
13년 전 조회 908
13년 전 조회 643
13년 전 조회 496
13년 전 조회 860
13년 전 조회 1,000
13년 전 조회 1,024
13년 전 조회 780
13년 전 조회 1,766
13년 전 조회 953
13년 전 조회 526
13년 전 조회 765
13년 전 조회 1,367
13년 전 조회 842
13년 전 조회 483
13년 전 조회 1,021
13년 전 조회 1,408
13년 전 조회 525
13년 전 조회 501
13년 전 조회 422
13년 전 조회 743
13년 전 조회 473
13년 전 조회 937
13년 전 조회 966
13년 전 조회 1,377
13년 전 조회 565
13년 전 조회 849
13년 전 조회 4,462
13년 전 조회 1,087
13년 전 조회 427
13년 전 조회 502
13년 전 조회 656
13년 전 조회 1,122
13년 전 조회 433
13년 전 조회 1,364
13년 전 조회 1,612
13년 전 조회 480
13년 전 조회 398
13년 전 조회 547
13년 전 조회 2,158
13년 전 조회 405
13년 전 조회 547
13년 전 조회 411
13년 전 조회 414
13년 전 조회 894
13년 전 조회 1,079
13년 전 조회 422
13년 전 조회 538
13년 전 조회 976
13년 전 조회 426
13년 전 조회 1,179
13년 전 조회 1,503
13년 전 조회 3,944
13년 전 조회 932
13년 전 조회 1,150
13년 전 조회 618
13년 전 조회 547
13년 전 조회 621
13년 전 조회 988
13년 전 조회 2,199
13년 전 조회 686
13년 전 조회 1,701
13년 전 조회 1,783
13년 전 조회 2,030
13년 전 조회 784
13년 전 조회 1,056
13년 전 조회 783
13년 전 조회 903
13년 전 조회 811
13년 전 조회 668
13년 전 조회 788
13년 전 조회 864
13년 전 조회 933
13년 전 조회 1,749
13년 전 조회 454
13년 전 조회 828
13년 전 조회 599
13년 전 조회 404
13년 전 조회 856
13년 전 조회 2,869
13년 전 조회 1,934
13년 전 조회 1,499
13년 전 조회 460
13년 전 조회 1,088
13년 전 조회 1,930
13년 전 조회 1,063
13년 전 조회 1,088
13년 전 조회 823
13년 전 조회 1,004
13년 전 조회 2,003
13년 전 조회 498
13년 전 조회 869
13년 전 조회 2,168
🐛 버그신고