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,502
13년 전 조회 1,354
13년 전 조회 2,084
13년 전 조회 758
13년 전 조회 634
13년 전 조회 1,976
13년 전 조회 571
13년 전 조회 586
13년 전 조회 884
13년 전 조회 617
13년 전 조회 473
13년 전 조회 837
13년 전 조회 970
13년 전 조회 1,001
13년 전 조회 754
13년 전 조회 1,759
13년 전 조회 926
13년 전 조회 504
13년 전 조회 742
13년 전 조회 1,343
13년 전 조회 819
13년 전 조회 455
13년 전 조회 995
13년 전 조회 1,386
13년 전 조회 499
13년 전 조회 472
13년 전 조회 401
13년 전 조회 712
13년 전 조회 452
13년 전 조회 908
13년 전 조회 943
13년 전 조회 1,349
13년 전 조회 533
13년 전 조회 824
13년 전 조회 4,439
13년 전 조회 1,059
13년 전 조회 404
13년 전 조회 476
13년 전 조회 632
13년 전 조회 1,099
13년 전 조회 408
13년 전 조회 1,343
13년 전 조회 1,587
13년 전 조회 458
13년 전 조회 368
13년 전 조회 524
13년 전 조회 2,133
13년 전 조회 380
13년 전 조회 525
13년 전 조회 385
13년 전 조회 388
13년 전 조회 871
13년 전 조회 1,055
13년 전 조회 399
13년 전 조회 508
13년 전 조회 953
13년 전 조회 406
13년 전 조회 1,155
13년 전 조회 1,479
13년 전 조회 3,924
13년 전 조회 910
13년 전 조회 1,127
13년 전 조회 599
13년 전 조회 523
13년 전 조회 600
13년 전 조회 965
13년 전 조회 2,175
13년 전 조회 661
13년 전 조회 1,678
13년 전 조회 1,760
13년 전 조회 2,009
13년 전 조회 764
13년 전 조회 1,032
13년 전 조회 759
13년 전 조회 879
13년 전 조회 788
13년 전 조회 650
13년 전 조회 765
13년 전 조회 841
13년 전 조회 910
13년 전 조회 1,723
13년 전 조회 433
13년 전 조회 806
13년 전 조회 580
13년 전 조회 383
13년 전 조회 842
13년 전 조회 2,854
13년 전 조회 1,919
13년 전 조회 1,480
13년 전 조회 442
13년 전 조회 1,068
13년 전 조회 1,909
13년 전 조회 1,043
13년 전 조회 1,067
13년 전 조회 807
13년 전 조회 983
13년 전 조회 1,982
13년 전 조회 483
13년 전 조회 846
13년 전 조회 2,142
🐛 버그신고