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,501
13년 전 조회 1,353
13년 전 조회 2,084
13년 전 조회 758
13년 전 조회 634
13년 전 조회 1,974
13년 전 조회 571
13년 전 조회 586
13년 전 조회 883
13년 전 조회 616
13년 전 조회 472
13년 전 조회 836
13년 전 조회 970
13년 전 조회 1,000
13년 전 조회 754
13년 전 조회 1,759
13년 전 조회 926
13년 전 조회 504
13년 전 조회 741
13년 전 조회 1,343
13년 전 조회 818
13년 전 조회 453
13년 전 조회 994
13년 전 조회 1,383
13년 전 조회 498
13년 전 조회 471
13년 전 조회 400
13년 전 조회 712
13년 전 조회 451
13년 전 조회 908
13년 전 조회 941
13년 전 조회 1,349
13년 전 조회 531
13년 전 조회 821
13년 전 조회 4,438
13년 전 조회 1,059
13년 전 조회 404
13년 전 조회 475
13년 전 조회 632
13년 전 조회 1,099
13년 전 조회 405
13년 전 조회 1,342
13년 전 조회 1,586
13년 전 조회 458
13년 전 조회 367
13년 전 조회 523
13년 전 조회 2,132
13년 전 조회 378
13년 전 조회 523
13년 전 조회 384
13년 전 조회 387
13년 전 조회 869
13년 전 조회 1,051
13년 전 조회 398
13년 전 조회 507
13년 전 조회 952
13년 전 조회 405
13년 전 조회 1,154
13년 전 조회 1,479
13년 전 조회 3,922
13년 전 조회 907
13년 전 조회 1,126
13년 전 조회 598
13년 전 조회 522
13년 전 조회 598
13년 전 조회 964
13년 전 조회 2,174
13년 전 조회 661
13년 전 조회 1,678
13년 전 조회 1,759
13년 전 조회 2,006
13년 전 조회 762
13년 전 조회 1,031
13년 전 조회 759
13년 전 조회 877
13년 전 조회 787
13년 전 조회 648
13년 전 조회 763
13년 전 조회 838
13년 전 조회 909
13년 전 조회 1,722
13년 전 조회 431
13년 전 조회 805
13년 전 조회 580
13년 전 조회 383
13년 전 조회 839
13년 전 조회 2,852
13년 전 조회 1,917
13년 전 조회 1,479
13년 전 조회 441
13년 전 조회 1,066
13년 전 조회 1,907
13년 전 조회 1,042
13년 전 조회 1,066
13년 전 조회 805
13년 전 조회 982
13년 전 조회 1,981
13년 전 조회 483
13년 전 조회 845
13년 전 조회 2,142
🐛 버그신고