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,540
13년 전 조회 1,391
13년 전 조회 2,110
13년 전 조회 799
13년 전 조회 671
13년 전 조회 2,012
13년 전 조회 613
13년 전 조회 628
13년 전 조회 919
13년 전 조회 652
13년 전 조회 511
13년 전 조회 875
13년 전 조회 1,016
13년 전 조회 1,040
13년 전 조회 791
13년 전 조회 1,773
13년 전 조회 964
13년 전 조회 537
13년 전 조회 779
13년 전 조회 1,380
13년 전 조회 851
13년 전 조회 497
13년 전 조회 1,033
13년 전 조회 1,419
13년 전 조회 532
13년 전 조회 515
13년 전 조회 434
13년 전 조회 758
13년 전 조회 484
13년 전 조회 945
13년 전 조회 976
13년 전 조회 1,386
13년 전 조회 576
13년 전 조회 864
13년 전 조회 4,470
13년 전 조회 1,096
13년 전 조회 431
13년 전 조회 511
13년 전 조회 665
13년 전 조회 1,136
13년 전 조회 443
13년 전 조회 1,372
13년 전 조회 1,623
13년 전 조회 494
13년 전 조회 407
13년 전 조회 565
13년 전 조회 2,171
13년 전 조회 419
13년 전 조회 564
13년 전 조회 424
13년 전 조회 428
13년 전 조회 904
13년 전 조회 1,089
13년 전 조회 435
13년 전 조회 549
13년 전 조회 990
13년 전 조회 437
13년 전 조회 1,191
13년 전 조회 1,517
13년 전 조회 3,950
13년 전 조회 947
13년 전 조회 1,162
13년 전 조회 628
13년 전 조회 562
13년 전 조회 635
13년 전 조회 1,000
13년 전 조회 2,211
13년 전 조회 698
13년 전 조회 1,712
13년 전 조회 1,795
13년 전 조회 2,040
13년 전 조회 798
13년 전 조회 1,067
13년 전 조회 798
13년 전 조회 912
13년 전 조회 824
13년 전 조회 677
13년 전 조회 800
13년 전 조회 878
13년 전 조회 947
13년 전 조회 1,761
13년 전 조회 466
13년 전 조회 841
13년 전 조회 609
13년 전 조회 413
13년 전 조회 864
13년 전 조회 2,878
13년 전 조회 1,940
13년 전 조회 1,510
13년 전 조회 470
13년 전 조회 1,097
13년 전 조회 1,938
13년 전 조회 1,074
13년 전 조회 1,097
13년 전 조회 828
13년 전 조회 1,018
13년 전 조회 2,012
13년 전 조회 513
13년 전 조회 883
13년 전 조회 2,177
🐛 버그신고