umask

· 13년 전 · 1299
 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년 전 조회 2,566
13년 전 조회 2,404
13년 전 조회 3,086
13년 전 조회 1,764
13년 전 조회 1,645
13년 전 조회 3,021
13년 전 조회 1,606
13년 전 조회 1,585
13년 전 조회 1,911
13년 전 조회 1,623
13년 전 조회 1,491
13년 전 조회 1,858
13년 전 조회 2,016
13년 전 조회 2,020
13년 전 조회 1,792
13년 전 조회 2,679
13년 전 조회 1,921
13년 전 조회 1,494
13년 전 조회 1,757
13년 전 조회 2,299
13년 전 조회 1,804
13년 전 조회 1,426
13년 전 조회 1,959
13년 전 조회 2,432
13년 전 조회 1,455
13년 전 조회 1,508
13년 전 조회 1,400
13년 전 조회 1,748
13년 전 조회 1,430
13년 전 조회 1,901
13년 전 조회 1,965
13년 전 조회 2,360
13년 전 조회 1,581
13년 전 조회 1,791
13년 전 조회 5,475
13년 전 조회 2,027
13년 전 조회 1,397
13년 전 조회 1,414
13년 전 조회 1,595
13년 전 조회 2,021
13년 전 조회 1,365
13년 전 조회 2,319
13년 전 조회 2,570
13년 전 조회 1,449
13년 전 조회 1,354
13년 전 조회 1,509
13년 전 조회 3,093
13년 전 조회 1,332
13년 전 조회 1,456
13년 전 조회 1,300
13년 전 조회 1,311
13년 전 조회 1,827
13년 전 조회 2,027
13년 전 조회 1,339
13년 전 조회 1,444
13년 전 조회 1,864
13년 전 조회 1,355
13년 전 조회 2,088
13년 전 조회 2,449
13년 전 조회 4,871
13년 전 조회 1,874
13년 전 조회 2,087
13년 전 조회 1,527
13년 전 조회 1,475
13년 전 조회 1,533
13년 전 조회 1,904
13년 전 조회 3,095
13년 전 조회 1,607
13년 전 조회 2,649
13년 전 조회 2,677
13년 전 조회 2,994
13년 전 조회 1,706
13년 전 조회 2,014
13년 전 조회 1,713
13년 전 조회 1,818
13년 전 조회 1,713
13년 전 조회 1,591
13년 전 조회 1,707
13년 전 조회 1,761
13년 전 조회 1,884
13년 전 조회 2,689
13년 전 조회 1,350
13년 전 조회 1,740
13년 전 조회 1,500
13년 전 조회 1,271
13년 전 조회 1,732
13년 전 조회 3,721
13년 전 조회 2,827
13년 전 조회 2,395
13년 전 조회 1,356
13년 전 조회 1,989
13년 전 조회 2,836
13년 전 조회 1,946
13년 전 조회 2,020
13년 전 조회 1,725
13년 전 조회 1,892
13년 전 조회 2,881
13년 전 조회 1,364
13년 전 조회 1,731
13년 전 조회 3,051