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,646
13년 전 조회 1,495
13년 전 조회 2,202
13년 전 조회 897
13년 전 조회 777
13년 전 조회 2,127
13년 전 조회 722
13년 전 조회 738
13년 전 조회 1,023
13년 전 조회 760
13년 전 조회 619
13년 전 조회 993
13년 전 조회 1,122
13년 전 조회 1,140
13년 전 조회 903
13년 전 조회 1,848
13년 전 조회 1,075
13년 전 조회 643
13년 전 조회 896
13년 전 조회 1,496
13년 전 조회 962
13년 전 조회 599
13년 전 조회 1,148
13년 전 조회 1,524
13년 전 조회 648
13년 전 조회 619
13년 전 조회 544
13년 전 조회 874
13년 전 조회 574
13년 전 조회 1,062
13년 전 조회 1,078
13년 전 조회 1,498
13년 전 조회 694
13년 전 조회 977
13년 전 조회 4,585
13년 전 조회 1,205
13년 전 조회 546
13년 전 조회 629
13년 전 조회 788
13년 전 조회 1,233
13년 전 조회 557
13년 전 조회 1,490
13년 전 조회 1,731
13년 전 조회 609
13년 전 조회 522
13년 전 조회 669
13년 전 조회 2,286
13년 전 조회 532
13년 전 조회 678
13년 전 조회 547
13년 전 조회 531
13년 전 조회 1,017
13년 전 조회 1,198
13년 전 조회 541
13년 전 조회 662
13년 전 조회 1,103
13년 전 조회 548
13년 전 조회 1,309
13년 전 조회 1,622
13년 전 조회 4,069
13년 전 조회 1,066
13년 전 조회 1,272
13년 전 조회 737
13년 전 조회 683
13년 전 조회 745
13년 전 조회 1,123
13년 전 조회 2,307
13년 전 조회 811
13년 전 조회 1,811
13년 전 조회 1,902
13년 전 조회 2,159
13년 전 조회 892
13년 전 조회 1,187
13년 전 조회 906
13년 전 조회 1,023
13년 전 조회 934
13년 전 조회 788
13년 전 조회 917
13년 전 조회 976
13년 전 조회 1,059
13년 전 조회 1,885
13년 전 조회 583
13년 전 조회 958
13년 전 조회 723
13년 전 조회 532
13년 전 조회 988
13년 전 조회 2,990
13년 전 조회 2,055
13년 전 조회 1,635
13년 전 조회 576
13년 전 조회 1,211
13년 전 조회 2,055
13년 전 조회 1,188
13년 전 조회 1,199
13년 전 조회 944
13년 전 조회 1,136
13년 전 조회 2,125
13년 전 조회 611
13년 전 조회 984
13년 전 조회 2,281
🐛 버그신고