相關指令:chmod / chown / chgrp [權限代表符號] r - read w - write x - execute [數值方面] 7 = all rights 6 = read and write 5 = read and execute 4 = read only 3 = execute and write 2 = write only 1 = execute only 0 = no rights 更改所有目錄跟檔案屬性範例: sudo chmod -R 775 * 更改所有包含子目錄的檔案權限,目錄不變更: sudo find * -type f -exec chmod 664 {} \; 更改所有包含子目錄的目錄權限,目錄不變更: sudo find * -type d -exec chmod 664 {} \; 參考資料: https://askubuntu.com/questions/409076/permission-drwxrwxr-x https://blog.csdn.net/u013197629/article/details/73608613