linux修改文件夾中全部文件的權限

chmod -R 777 ./cfg/ rwx權限數字解釋  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。bash 示例: chmod a=rw
相關文章
相關標籤/搜索