Linux chmod和chown
摘要:指令名称 : chmod使用权限 : 所有使用者使用方式 : chmod [-cfvR] [--help] [--version] mode 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的权限-rw------- (600
阅读全文
posted @ 2011-09-23 10:05
浙公网安备 33010602011771号