´ÙÀ½ ÀÌÀü Â÷·Ê

4. ¹ú·¹ (Áß¿ä!)

¸î¸î ¹öÀüÀÇ RPM¿¡¼­ tar ÆÄÀÏÀÌ À߸øµÈ Çã°¡±ÇÀ» »ç¿ëÇÏ°Ô²û »ý¼ºµÈ´Ù´Â °ÍÀ» ¾Ë°í ÀÖ¾î¾ß ÇÑ´Ù. RPMÀ» ¼³Ä¡ÇÏÀÚ ¸¶ÀÚ µð·ºÅ丮(/bin, /usr, µîµî) ÀÇ Çã°¡±ÇÀ» °Ë»çÇغ¸¶ó. ¸¸ÀÏ Çã°¡±ÇÀÌ 700(drwx------)À¸·Î µÇ¾î ÀÖ´Ù¸é ¹ú·¹¿¡ ¹°¸°°ÍÀÌ´Ù.

Çã°¡±Ç ¹®Á¦¸¦ ÇØ°áÇϱâ À§ÇØ ´ÙÀ½ÀÇ ½©½ºÅ©¸³Æ®¸¦ ½ÇÇàÇ϶ó:


#!/bin/sh
 
chmod 755 /bin
chmod 755 /usr
chmod 755 /usr/bin
chmod 755 /usr/doc
chmod 755 /usr/lib
chmod 755 /usr/man
chmod 755 /usr/man/man8
chmod 755 /usr/share
chmod 755 /usr/share/locale
chmod 755 /usr/share/locale/de
chmod 755 /usr/share/locale/de/LC_MESSAGES
chmod 755 /usr/share/locale/pt-br
chmod 755 /usr/share/locale/pt-br/LC_MESSAGES
chmod 755 /usr/share/locale/sv
chmod 755 /usr/share/locale/sv/LC_MESSAGES
chmod 755 /usr/src

ÀÌ°Í¿¡ °üÇÑ Áú¹®ÀÌ ÀÖ´Ù¸é ÇÊÀÚ¿¡°Ô ÀüÀÚ¿ìÆíÀ» º¸³»´Þ¶ó.


´ÙÀ½ ÀÌÀü Â÷·Ê