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,517
13년 전 조회 1,369
13년 전 조회 2,094
13년 전 조회 775
13년 전 조회 649
13년 전 조회 1,993
13년 전 조회 593
13년 전 조회 603
13년 전 조회 902
13년 전 조회 637
13년 전 조회 488
13년 전 조회 852
13년 전 조회 991
13년 전 조회 1,016
13년 전 조회 773
13년 전 조회 1,765
13년 전 조회 945
13년 전 조회 523
13년 전 조회 761
13년 전 조회 1,362
13년 전 조회 838
13년 전 조회 473
13년 전 조회 1,014
13년 전 조회 1,404
13년 전 조회 519
13년 전 조회 492
13년 전 조회 417
13년 전 조회 733
13년 전 조회 466
13년 전 조회 927
13년 전 조회 959
13년 전 조회 1,367
13년 전 조회 558
13년 전 조회 844
13년 전 조회 4,452
13년 전 조회 1,081
13년 전 조회 420
13년 전 조회 494
13년 전 조회 649
13년 전 조회 1,113
13년 전 조회 424
13년 전 조회 1,360
13년 전 조회 1,608
13년 전 조회 474
13년 전 조회 386
13년 전 조회 542
13년 전 조회 2,150
13년 전 조회 397
13년 전 조회 544
13년 전 조회 404
13년 전 조회 406
13년 전 조회 887
13년 전 조회 1,070
13년 전 조회 415
13년 전 조회 529
13년 전 조회 969
13년 전 조회 418
13년 전 조회 1,173
13년 전 조회 1,494
13년 전 조회 3,940
13년 전 조회 928
13년 전 조회 1,142
13년 전 조회 613
13년 전 조회 541
13년 전 조회 615
13년 전 조회 984
13년 전 조회 2,194
13년 전 조회 678
13년 전 조회 1,695
13년 전 조회 1,778
13년 전 조회 2,025
13년 전 조회 779
13년 전 조회 1,051
13년 전 조회 777
13년 전 조회 896
13년 전 조회 805
13년 전 조회 665
13년 전 조회 781
13년 전 조회 859
13년 전 조회 925
13년 전 조회 1,741
13년 전 조회 448
13년 전 조회 823
13년 전 조회 595
13년 전 조회 401
13년 전 조회 852
13년 전 조회 2,865
13년 전 조회 1,928
13년 전 조회 1,493
13년 전 조회 452
13년 전 조회 1,082
13년 전 조회 1,922
13년 전 조회 1,057
13년 전 조회 1,081
13년 전 조회 820
13년 전 조회 998
13년 전 조회 1,994
13년 전 조회 494
13년 전 조회 861
13년 전 조회 2,159
🐛 버그신고