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,511
13년 전 조회 1,365
13년 전 조회 2,093
13년 전 조회 772
13년 전 조회 644
13년 전 조회 1,989
13년 전 조회 584
13년 전 조회 598
13년 전 조회 893
13년 전 조회 627
13년 전 조회 483
13년 전 조회 848
13년 전 조회 983
13년 전 조회 1,010
13년 전 조회 770
13년 전 조회 1,762
13년 전 조회 940
13년 전 조회 516
13년 전 조회 756
13년 전 조회 1,358
13년 전 조회 831
13년 전 조회 467
13년 전 조회 1,008
13년 전 조회 1,399
13년 전 조회 513
13년 전 조회 486
13년 전 조회 411
13년 전 조회 726
13년 전 조회 462
13년 전 조회 922
13년 전 조회 954
13년 전 조회 1,363
13년 전 조회 548
13년 전 조회 836
13년 전 조회 4,449
13년 전 조회 1,073
13년 전 조회 417
13년 전 조회 489
13년 전 조회 646
13년 전 조회 1,109
13년 전 조회 420
13년 전 조회 1,350
13년 전 조회 1,601
13년 전 조회 469
13년 전 조회 381
13년 전 조회 536
13년 전 조회 2,145
13년 전 조회 392
13년 전 조회 538
13년 전 조회 399
13년 전 조회 402
13년 전 조회 883
13년 전 조회 1,067
13년 전 조회 412
13년 전 조회 521
13년 전 조회 966
13년 전 조회 415
13년 전 조회 1,165
13년 전 조회 1,488
13년 전 조회 3,934
13년 전 조회 919
13년 전 조회 1,138
13년 전 조회 606
13년 전 조회 535
13년 전 조회 610
13년 전 조회 976
13년 전 조회 2,188
13년 전 조회 673
13년 전 조회 1,688
13년 전 조회 1,768
13년 전 조회 2,018
13년 전 조회 773
13년 전 조회 1,043
13년 전 조회 771
13년 전 조회 889
13년 전 조회 798
13년 전 조회 660
13년 전 조회 775
13년 전 조회 852
13년 전 조회 920
13년 전 조회 1,735
13년 전 조회 441
13년 전 조회 817
13년 전 조회 590
13년 전 조회 393
13년 전 조회 848
13년 전 조회 2,858
13년 전 조회 1,926
13년 전 조회 1,487
13년 전 조회 447
13년 전 조회 1,076
13년 전 조회 1,918
13년 전 조회 1,052
13년 전 조회 1,078
13년 전 조회 813
13년 전 조회 991
13년 전 조회 1,990
13년 전 조회 491
13년 전 조회 856
13년 전 조회 2,150
🐛 버그신고