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,518
13년 전 조회 1,371
13년 전 조회 2,094
13년 전 조회 777
13년 전 조회 649
13년 전 조회 1,996
13년 전 조회 594
13년 전 조회 606
13년 전 조회 904
13년 전 조회 637
13년 전 조회 489
13년 전 조회 855
13년 전 조회 993
13년 전 조회 1,019
13년 전 조회 775
13년 전 조회 1,765
13년 전 조회 946
13년 전 조회 523
13년 전 조회 762
13년 전 조회 1,364
13년 전 조회 838
13년 전 조회 475
13년 전 조회 1,015
13년 전 조회 1,404
13년 전 조회 519
13년 전 조회 493
13년 전 조회 418
13년 전 조회 734
13년 전 조회 467
13년 전 조회 927
13년 전 조회 960
13년 전 조회 1,370
13년 전 조회 559
13년 전 조회 845
13년 전 조회 4,457
13년 전 조회 1,082
13년 전 조회 420
13년 전 조회 494
13년 전 조회 651
13년 전 조회 1,115
13년 전 조회 425
13년 전 조회 1,361
13년 전 조회 1,608
13년 전 조회 475
13년 전 조회 388
13년 전 조회 543
13년 전 조회 2,151
13년 전 조회 397
13년 전 조회 544
13년 전 조회 406
13년 전 조회 408
13년 전 조회 887
13년 전 조회 1,074
13년 전 조회 415
13년 전 조회 530
13년 전 조회 970
13년 전 조회 419
13년 전 조회 1,174
13년 전 조회 1,495
13년 전 조회 3,940
13년 전 조회 930
13년 전 조회 1,142
13년 전 조회 613
13년 전 조회 543
13년 전 조회 618
13년 전 조회 984
13년 전 조회 2,195
13년 전 조회 679
13년 전 조회 1,696
13년 전 조회 1,778
13년 전 조회 2,027
13년 전 조회 780
13년 전 조회 1,052
13년 전 조회 778
13년 전 조회 897
13년 전 조회 805
13년 전 조회 665
13년 전 조회 781
13년 전 조회 860
13년 전 조회 926
13년 전 조회 1,741
13년 전 조회 449
13년 전 조회 824
13년 전 조회 596
13년 전 조회 401
13년 전 조회 853
13년 전 조회 2,867
13년 전 조회 1,930
13년 전 조회 1,494
13년 전 조회 455
13년 전 조회 1,085
13년 전 조회 1,926
13년 전 조회 1,057
13년 전 조회 1,081
13년 전 조회 820
13년 전 조회 999
13년 전 조회 1,994
13년 전 조회 495
13년 전 조회 862
13년 전 조회 2,159
🐛 버그신고