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,380
13년 전 조회 2,095
13년 전 조회 785
13년 전 조회 658
13년 전 조회 1,998
13년 전 조회 598
13년 전 조회 614
13년 전 조회 909
13년 전 조회 643
13년 전 조회 496
13년 전 조회 860
13년 전 조회 1,002
13년 전 조회 1,027
13년 전 조회 781
13년 전 조회 1,766
13년 전 조회 954
13년 전 조회 528
13년 전 조회 765
13년 전 조회 1,368
13년 전 조회 843
13년 전 조회 483
13년 전 조회 1,022
13년 전 조회 1,408
13년 전 조회 525
13년 전 조회 502
13년 전 조회 423
13년 전 조회 745
13년 전 조회 474
13년 전 조회 937
13년 전 조회 966
13년 전 조회 1,377
13년 전 조회 566
13년 전 조회 852
13년 전 조회 4,462
13년 전 조회 1,088
13년 전 조회 427
13년 전 조회 502
13년 전 조회 657
13년 전 조회 1,122
13년 전 조회 435
13년 전 조회 1,366
13년 전 조회 1,614
13년 전 조회 481
13년 전 조회 400
13년 전 조회 548
13년 전 조회 2,158
13년 전 조회 405
13년 전 조회 550
13년 전 조회 414
13년 전 조회 415
13년 전 조회 894
13년 전 조회 1,080
13년 전 조회 423
13년 전 조회 539
13년 전 조회 979
13년 전 조회 426
13년 전 조회 1,180
13년 전 조회 1,506
13년 전 조회 3,944
13년 전 조회 932
13년 전 조회 1,152
13년 전 조회 618
13년 전 조회 548
13년 전 조회 623
13년 전 조회 988
13년 전 조회 2,200
13년 전 조회 686
13년 전 조회 1,701
13년 전 조회 1,785
13년 전 조회 2,033
13년 전 조회 788
13년 전 조회 1,060
13년 전 조회 784
13년 전 조회 903
13년 전 조회 813
13년 전 조회 668
13년 전 조회 789
13년 전 조회 867
13년 전 조회 933
13년 전 조회 1,749
13년 전 조회 456
13년 전 조회 830
13년 전 조회 600
13년 전 조회 405
13년 전 조회 856
13년 전 조회 2,869
13년 전 조회 1,934
13년 전 조회 1,499
13년 전 조회 461
13년 전 조회 1,089
13년 전 조회 1,931
13년 전 조회 1,064
13년 전 조회 1,088
13년 전 조회 823
13년 전 조회 1,005
13년 전 조회 2,004
13년 전 조회 500
13년 전 조회 872
13년 전 조회 2,169
🐛 버그신고