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,516
13년 전 조회 1,369
13년 전 조회 2,094
13년 전 조회 774
13년 전 조회 646
13년 전 조회 1,992
13년 전 조회 591
13년 전 조회 601
13년 전 조회 897
13년 전 조회 635
13년 전 조회 486
13년 전 조회 852
13년 전 조회 989
13년 전 조회 1,015
13년 전 조회 771
13년 전 조회 1,765
13년 전 조회 944
13년 전 조회 522
13년 전 조회 761
13년 전 조회 1,361
13년 전 조회 837
13년 전 조회 471
13년 전 조회 1,012
13년 전 조회 1,403
13년 전 조회 519
13년 전 조회 491
13년 전 조회 417
13년 전 조회 730
13년 전 조회 464
13년 전 조회 927
13년 전 조회 957
13년 전 조회 1,366
13년 전 조회 556
13년 전 조회 842
13년 전 조회 4,452
13년 전 조회 1,077
13년 전 조회 419
13년 전 조회 492
13년 전 조회 648
13년 전 조회 1,112
13년 전 조회 424
13년 전 조회 1,359
13년 전 조회 1,604
13년 전 조회 473
13년 전 조회 382
13년 전 조회 540
13년 전 조회 2,149
13년 전 조회 395
13년 전 조회 541
13년 전 조회 402
13년 전 조회 405
13년 전 조회 885
13년 전 조회 1,068
13년 전 조회 414
13년 전 조회 526
13년 전 조회 969
13년 전 조회 416
13년 전 조회 1,172
13년 전 조회 1,491
13년 전 조회 3,939
13년 전 조회 924
13년 전 조회 1,140
13년 전 조회 611
13년 전 조회 539
13년 전 조회 614
13년 전 조회 983
13년 전 조회 2,192
13년 전 조회 676
13년 전 조회 1,694
13년 전 조회 1,775
13년 전 조회 2,022
13년 전 조회 779
13년 전 조회 1,048
13년 전 조회 776
13년 전 조회 894
13년 전 조회 802
13년 전 조회 664
13년 전 조회 779
13년 전 조회 857
13년 전 조회 924
13년 전 조회 1,738
13년 전 조회 446
13년 전 조회 821
13년 전 조회 594
13년 전 조회 399
13년 전 조회 852
13년 전 조회 2,864
13년 전 조회 1,927
13년 전 조회 1,491
13년 전 조회 450
13년 전 조회 1,082
13년 전 조회 1,920
13년 전 조회 1,056
13년 전 조회 1,080
13년 전 조회 819
13년 전 조회 996
13년 전 조회 1,992
13년 전 조회 494
13년 전 조회 859
13년 전 조회 2,155
🐛 버그신고