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,527
13년 전 조회 1,379
13년 전 조회 2,095
13년 전 조회 785
13년 전 조회 658
13년 전 조회 1,998
13년 전 조회 597
13년 전 조회 614
13년 전 조회 909
13년 전 조회 643
13년 전 조회 496
13년 전 조회 860
13년 전 조회 1,002
13년 전 조회 1,025
13년 전 조회 781
13년 전 조회 1,766
13년 전 조회 954
13년 전 조회 527
13년 전 조회 765
13년 전 조회 1,367
13년 전 조회 842
13년 전 조회 483
13년 전 조회 1,022
13년 전 조회 1,408
13년 전 조회 525
13년 전 조회 502
13년 전 조회 422
13년 전 조회 744
13년 전 조회 473
13년 전 조회 937
13년 전 조회 966
13년 전 조회 1,377
13년 전 조회 566
13년 전 조회 851
13년 전 조회 4,462
13년 전 조회 1,088
13년 전 조회 427
13년 전 조회 502
13년 전 조회 657
13년 전 조회 1,122
13년 전 조회 434
13년 전 조회 1,365
13년 전 조회 1,613
13년 전 조회 481
13년 전 조회 399
13년 전 조회 548
13년 전 조회 2,158
13년 전 조회 405
13년 전 조회 550
13년 전 조회 412
13년 전 조회 415
13년 전 조회 894
13년 전 조회 1,080
13년 전 조회 423
13년 전 조회 538
13년 전 조회 977
13년 전 조회 426
13년 전 조회 1,180
13년 전 조회 1,504
13년 전 조회 3,944
13년 전 조회 932
13년 전 조회 1,152
13년 전 조회 618
13년 전 조회 548
13년 전 조회 622
13년 전 조회 988
13년 전 조회 2,199
13년 전 조회 686
13년 전 조회 1,701
13년 전 조회 1,784
13년 전 조회 2,032
13년 전 조회 785
13년 전 조회 1,058
13년 전 조회 784
13년 전 조회 903
13년 전 조회 813
13년 전 조회 668
13년 전 조회 789
13년 전 조회 866
13년 전 조회 933
13년 전 조회 1,749
13년 전 조회 455
13년 전 조회 830
13년 전 조회 600
13년 전 조회 405
13년 전 조회 856
13년 전 조회 2,869
13년 전 조회 1,934
13년 전 조회 1,499
13년 전 조회 461
13년 전 조회 1,088
13년 전 조회 1,931
13년 전 조회 1,064
13년 전 조회 1,088
13년 전 조회 823
13년 전 조회 1,005
13년 전 조회 2,004
13년 전 조회 499
13년 전 조회 872
13년 전 조회 2,169
🐛 버그신고