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,508
13년 전 조회 1,358
13년 전 조회 2,089
13년 전 조회 766
13년 전 조회 639
13년 전 조회 1,981
13년 전 조회 578
13년 전 조회 593
13년 전 조회 888
13년 전 조회 621
13년 전 조회 477
13년 전 조회 842
13년 전 조회 979
13년 전 조회 1,005
13년 전 조회 763
13년 전 조회 1,761
13년 전 조회 932
13년 전 조회 510
13년 전 조회 747
13년 전 조회 1,353
13년 전 조회 825
13년 전 조회 461
13년 전 조회 1,003
13년 전 조회 1,392
13년 전 조회 505
13년 전 조회 479
13년 전 조회 405
13년 전 조회 719
13년 전 조회 456
13년 전 조회 916
13년 전 조회 950
13년 전 조회 1,358
13년 전 조회 540
13년 전 조회 831
13년 전 조회 4,441
13년 전 조회 1,066
13년 전 조회 411
13년 전 조회 481
13년 전 조회 637
13년 전 조회 1,103
13년 전 조회 412
13년 전 조회 1,347
13년 전 조회 1,594
13년 전 조회 463
13년 전 조회 374
13년 전 조회 529
13년 전 조회 2,139
13년 전 조회 385
13년 전 조회 532
13년 전 조회 392
13년 전 조회 394
13년 전 조회 877
13년 전 조회 1,058
13년 전 조회 404
13년 전 조회 515
13년 전 조회 960
13년 전 조회 410
13년 전 조회 1,160
13년 전 조회 1,484
13년 전 조회 3,929
13년 전 조회 915
13년 전 조회 1,131
13년 전 조회 601
13년 전 조회 528
13년 전 조회 604
13년 전 조회 970
13년 전 조회 2,181
13년 전 조회 666
13년 전 조회 1,684
13년 전 조회 1,762
13년 전 조회 2,010
13년 전 조회 766
13년 전 조회 1,037
13년 전 조회 764
13년 전 조회 883
13년 전 조회 792
13년 전 조회 654
13년 전 조회 769
13년 전 조회 847
13년 전 조회 913
13년 전 조회 1,729
13년 전 조회 437
13년 전 조회 811
13년 전 조회 584
13년 전 조회 385
13년 전 조회 843
13년 전 조회 2,855
13년 전 조회 1,920
13년 전 조회 1,481
13년 전 조회 445
13년 전 조회 1,071
13년 전 조회 1,912
13년 전 조회 1,046
13년 전 조회 1,071
13년 전 조회 808
13년 전 조회 985
13년 전 조회 1,984
13년 전 조회 486
13년 전 조회 848
13년 전 조회 2,146
🐛 버그신고