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,562
13년 전 조회 1,414
13년 전 조회 2,127
13년 전 조회 826
13년 전 조회 700
13년 전 조회 2,036
13년 전 조회 637
13년 전 조회 651
13년 전 조회 940
13년 전 조회 676
13년 전 조회 532
13년 전 조회 895
13년 전 조회 1,033
13년 전 조회 1,058
13년 전 조회 814
13년 전 조회 1,790
13년 전 조회 989
13년 전 조회 559
13년 전 조회 797
13년 전 조회 1,401
13년 전 조회 873
13년 전 조회 524
13년 전 조회 1,058
13년 전 조회 1,436
13년 전 조회 554
13년 전 조회 534
13년 전 조회 460
13년 전 조회 784
13년 전 조회 510
13년 전 조회 965
13년 전 조회 995
13년 전 조회 1,407
13년 전 조회 603
13년 전 조회 884
13년 전 조회 4,502
13년 전 조회 1,124
13년 전 조회 457
13년 전 조회 533
13년 전 조회 689
13년 전 조회 1,151
13년 전 조회 467
13년 전 조회 1,395
13년 전 조회 1,640
13년 전 조회 518
13년 전 조회 428
13년 전 조회 589
13년 전 조회 2,196
13년 전 조회 443
13년 전 조회 587
13년 전 조회 450
13년 전 조회 455
13년 전 조회 922
13년 전 조회 1,108
13년 전 조회 461
13년 전 조회 568
13년 전 조회 1,009
13년 전 조회 453
13년 전 조회 1,215
13년 전 조회 1,541
13년 전 조회 3,979
13년 전 조회 967
13년 전 조회 1,181
13년 전 조회 652
13년 전 조회 582
13년 전 조회 656
13년 전 조회 1,022
13년 전 조회 2,229
13년 전 조회 714
13년 전 조회 1,727
13년 전 조회 1,812
13년 전 조회 2,060
13년 전 조회 813
13년 전 조회 1,089
13년 전 조회 815
13년 전 조회 931
13년 전 조회 852
13년 전 조회 697
13년 전 조회 821
13년 전 조회 894
13년 전 조회 978
13년 전 조회 1,779
13년 전 조회 486
13년 전 조회 864
13년 전 조회 625
13년 전 조회 429
13년 전 조회 883
13년 전 조회 2,893
13년 전 조회 1,962
13년 전 조회 1,538
13년 전 조회 490
13년 전 조회 1,122
13년 전 조회 1,957
13년 전 조회 1,099
13년 전 조회 1,122
13년 전 조회 847
13년 전 조회 1,041
13년 전 조회 2,031
13년 전 조회 526
13년 전 조회 897
13년 전 조회 2,189
🐛 버그신고