linuxµÄchmodÓëchownÃüÁîÏê½â
linuxµÄchmodÓëchownÃüÁîÏê½â
linuxµÄchmodÃüÁîʹÓÃÏê½â
ʹÓ÷½Ê½ : chmod [-cfvR] [--help] [--version] mode file...
˵Ã÷ : Linux/Unix µÄµµ°¸´æȡȨÏÞ·ÖΪÈý¼¶ : µµ°¸ÓµÓÐÕß¡¢Èº×é¡¢ÆäËû¡£ÀûÓà chmod ¿ÉÒÔ½åÒÔ¿ØÖƵµ°¸ÈçºÎ±»ËûÈËËù´æÈ¡¡£
mode : ȨÏÞÉ趨×Ö´®£¬¸ñʽÈçÏ : [ugoa...][[+-=][rwxX]...][,...]£¬ÆäÖÐu ±íʾ¸Ãµµ°¸µÄÓµÓÐÕߣ¬g ±íʾÓë¸Ãµµ°¸µÄÓµÓÐÕßÊôÓÚͬһ¸öȺÌå(group)Õߣ¬o ±íʾÆäËûÒÔÍâµÄÈË£¬a ±íʾÕâÈýÕß½ÔÊÇ¡£
+ ±íʾÔö¼ÓȨÏÞ¡¢- ±íʾȡÏûȨÏÞ¡¢= ±íʾΨһÉ趨ȨÏÞ¡£
r ±íʾ¿É¶ÁÈ¡£¬w ±íʾ¿ÉдÈ룬x ±íʾ¿ÉÖ´ÐУ¬X ±íʾֻÓе±¸Ãµµ°¸ÊǸö×ÓĿ¼»òÕ߸õµ°¸ÒѾ±»É趨¹ýΪ¿ÉÖ´ÐС£
-c : Èô¸Ãµµ°¸È¨ÏÞȷʵÒѾ¸ü¸Ä£¬²ÅÏÔʾÆä¸ü¸Ä¶¯×÷
-f : Èô¸Ãµµ°¸È¨ÏÞÎÞ·¨±»¸ü¸ÄÒ²²»ÒªÏÔʾ´íÎóѶϢ
-v : ÏÔʾȨÏÞ±ä¸üµÄÏêϸ×ÊÁÏ
-R : ¶ÔĿǰĿ¼ÏµÄËùÓеµ°¸Óë×ÓĿ¼½øÐÐÏàͬµÄȨÏÞ±ä¸ü(¼´ÒԵݻصķ½Ê½Öð¸ö±ä¸ü)
--help : ÏÔʾ¸¨Öú˵Ã÷
--version : ÏÔʾ°æ±¾
·¶Àý :½«µµ°¸ file1.txt ÉèΪËùÓÐÈ˽ԿɶÁÈ¡ :
chmod ugo+r file1.txt
½«µµ°¸ file1.txt ÉèΪËùÓÐÈ˽ԿɶÁÈ¡ :
chmod a+r file1.txt
½«µµ°¸ file1.txt Óë file2.txt ÉèΪ¸Ãµµ°¸ÓµÓÐÕߣ¬ÓëÆäËùÊôͬһ¸öȺÌåÕß¿ÉдÈ룬µ«ÆäËûÒÔÍâµÄÈËÔò²»¿ÉдÈë :
chmod ug+w,o-w file1.txt file2.txt
½« ex1.py É趨ΪֻÓиõµ°¸ÓµÓÐÕß¿ÉÒÔÖ´ÐÐ :
chmod u+x ex1.py
½«Ä¿Ç°Ä¿Â¼ÏµÄËùÓеµ°¸Óë×ÓĿ¼½ÔÉèΪÈκÎÈ˿ɶÁÈ¡ :
chmod -R a+r *
´ËÍâchmodÒ²¿ÉÒÔÓÃÊý×ÖÀ´±íʾȨÏÞÈç chmod 777 file
Ó﷨Ϊ£ºchmod abc file
ÆäÖÐa,b,c¸÷Ϊһ¸öÊý×Ö£¬·Ö±ð±íʾUser¡¢Group¡¢¼°OtherµÄȨÏÞ¡£
r=4£¬w=2£¬x=1
ÈôÒªrwxÊôÐÔÔò4+2+1=7£»
ÈôÒªrw-ÊôÐÔÔò4+2=6£»
ÈôÒªr-xÊôÐÔÔò4+1=7¡£
·¶Àý£º
chmod a=rwx file
ºÍ
chmod 777 file
Ч¹ûÏàͬ
chmod ug=rwx,o=x file
ºÍ
chmod 771 file
Ч¹ûÏàͬ
ÈôÓÃchmod 4755 filename¿Éʹ´Ë³Ìʽ¾ßÓÐrootµÄȨÏÞ
Ö¸ÁîÃû³Æ : chown
ʹÓÃȨÏÞ : root
ʹÓ÷½Ê½ : chmod [-cfhvR] [--help] [--version] user[:group] file...
˵Ã÷ : Linux/Unix ÊǶàÈ˶๤×÷ҵϵͳ£¬ËùÓеĵµ°¸½ÔÓÐÓµÓÐÕß¡£ÀûÓà chown ¿ÉÒÔ½«µµ°¸µÄÓµÓÐÕß¼ÓÒԸı䡣һ°ãÀ´Ëµ£¬Õâ¸öÖ¸ÁîÖ»ÓÐÊÇÓÉϵͳ¹ÜÀíÕß(root)ËùʹÓã¬Ò»°ãʹÓÃÕßûÓÐȨÏÞ¿ÉÒԸıä±ðÈ˵ĵµ°¸ÓµÓÐÕߣ¬Ò²Ã»ÓÐȨÏÞ¿ÉÒÔ×Ô¼ºµÄµµ°¸ÓµÓÐÕ߸ÄÉèΪ±ðÈË¡£Ö»ÓÐϵͳ¹ÜÀíÕß(root)²ÅÓÐÕâÑùµÄȨÏÞ¡£
°Ñ¼Æ :
user :
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
RHCEֱͨ³µ www.taobaofun.com Ìṩ×îÈ«ÃæµÄRHCE¿¼ÊÔ×ÊÁÏ
1£® ÕÆÎÕÖÁÉÙ50¸öÒÔÉϵij£ÓÃÃüÁî¡£
2£® ÊìϤGnomeKDEµÈX-windows×ÀÃæ»·¾³²Ù×÷£¬×îºÃÊÇ×Ô¼º°²×°ÏÂϵͳ£¬Ê¹ÓÃx»·¾³ÉÏÏÂÍø¡£
3£® ÕÆÎÕ.tgz¡¢.rpmµÈÈí¼þ°üµÄ³£Óð²×°·½·¨£¬±¸·Ý»¹Ôʱºò»áÓõ½µÄ
4£® Ñ§Ï°Ì ......
ÔÚÒƶ¯Ó²ÅÌÓëÓ²ÅÌÖ®¼ä¡¢±¾µØÓëÍøÂ磨FTP£¬SSHµÈ£©Ö®¼ä±¸·ÝÊý¾Ý¡¢Í¬²½Îļþ¼ÐµÄÐèÇó¶ÔÓÚLinuxÓû§ÊǺܳ£¼ûµÄ¡£ÔÚWindowsÖУ¬ÓÐTotal CommanderµÈ¹¤¾ßͬ²½Îļþ¼ÐµÄ¹¦ÄܺÜÇ¿´ó£¬ÄÇôLinuxÖÐÓÐÄÄЩͬ²½Îļþ¼ÐµÄÈí¼þÄØ£¿
rsyncºÍgrsync
grsyncµÄ½Øͼ
rsyncÊÇLinuxÖÐÖØÒªµÄÎļþͬ²½¹¤¾ß£¬Ö§³Ö±¾µØºÍÔ¶³ÌµÄÎļþͬ²½¹¤¾ß£¬¶øgrs ......
Ò²ÐíÖ»ÊÇÎÒÒ»¸öÈ˱Ƚϱ¿£¬Ã¿´ÎÅöµ½bug£¬ËäÈ»ÓÐÈ˸ø³ö²¹¶¡£¨patch£©£¬µ«ÊÇÈ´²»ÖªµÀÔõôʹÓá£Manual Page ( man patch
)Ò²Ö»¸ø³ö patch -p(num)
<patchfileÕâÑùµÄÓ÷¨£¬¾ßÌåÒ²²»ÖªµÀÔõÑùÈ·¶¨num£¬Èç¹ûÄãÒ²ÓÐÕâÑùµÄÒÉ»ó£¬Çë¼ÌÐøÔĶÁ£º
½¨Á¢patchÎļþ:
diff -Naur olddir newdir > new-patch
- or -
diff -Naur ol ......
http://blog.csdn.net/youta_chen/archive/2007/08/29/1763215.aspx
½ñÄêÉÏ°ëÄêÎÒ¶ÔÊг¡³£¼ûµÄvimicro ÉãÏñÍ·ÒÆÖ²ÁËLinuxϵÄÇý¶¯ÖÁÔÚÑеÄÒ»¿îǶÈëʽ¿ª·¢°å£¬¿ª·¢»·¾³Îª£º
OS:Linux2.6.9
Compile:cross 3.3.2
CPU:Intel PXA270
Camera Typ ......