ÃÊÂ¥´ÔÀÇ ±Û
------------------------------------
¾È³çÇϼ¼¿ä. À¯´Ð½º¸¦ ½ÃÀÛÇÑÁö ¾ó¸¶¾ÈµÇ´Â ¿ÕÃʺ¸ Àλçµå¸³´Ï´Ù.
ÀÌ°÷ »çÀÌÆ®°¡ Àú¿¡°Ô ¸¹Àº µµ¿òÀÌ µÇ±æ ¹Ù¶ó¸ç ¾ÕÀ¸·Î Àúµµ ÀÌ°÷¿¡¼ Áú¹®¿¡ ´äÀ» ÇØÁÙ ¼ö ÀÖ´Â ³¯ÀÌ ¿À±æ ¶ÇÇÑ ¹Ù¶ó¸é¼ ¸î °¡Áö Áú¹®µå¸³´Ï´Ù.
csh startup fileÀÎ .cshrc¸¦ º¸¸é
1 # @(#)cshrc 1.11 89/11/29 Edit By WeonKeun-Bark
2 umask 022
===> ÆÄÀÏÀÇ Æ۹̼ÇÀ» ¸¸µé umask
½ÇÀü Å×½ºÆÃ
(45)[stone]/home/stone/umask > umask 000
(46)[stone]/home/stone/umask > touch 1
(47)[stone]/home/stone/umask > ls -l
ÃÑ 0
-rw-rw-rw- 1 stone admin 0 8¿ù 27ÀÏ 16:13 1
(48)[stone]/home/stone/umask > umask 400
(49)[stone]/home/stone/umask > touch 2
(50)[stone]/home/stone/umask > ls -l
ÃÑ 0
-rw-rw-rw- 1 stone admin 0 8¿ù 27ÀÏ 16:13 1
--w-rw-rw- 1 stone admin 0 8¿ù 27ÀÏ 16:13 2
(51)[stone]/home/stone/umask > umask 600
(52)[stone]/home/stone/umask > touch 3
(53)[stone]/home/stone/umask > ls -l
ÃÑ 0
-rw-rw-rw- 1 stone admin 0 8¿ù 27ÀÏ 16:13 1
--w-rw-rw- 1 stone admin 0 8¿ù 27ÀÏ 16:13 2
----rw-rw- 1 stone admin 0 8¿ù 27ÀÏ 16:13 3
(54)[stone]/home/stone/umask > umask 006
(55)[stone]/home/stone/umask > touch 4
(56)[stone]/home/stone/umask > ls -l
ÃÑ 0
-rw-rw-rw- 1 stone admin 0 8¿ù 27ÀÏ 16:13 1
--w-rw-rw- 1 stone admin 0 8¿ù 27ÀÏ 16:13 2
----rw-rw- 1 stone admin 0 8¿ù 27ÀÏ 16:13 3
-rw-rw---- 1 stone admin 0 8¿ù 27ÀÏ 16:14 4
(57)[stone]/home/stone/umask >
3
4 if ( $?prompt ) then
==> ÇÁ·ÒÇÁÆ®°¡ »ý¼ºÀÌ
|