因為samba的預設語系並不是中文, 如果要讓中文檔案或資料夾不是亂碼,解決方法如下: 在smb.conf內的 [globe] 環境下加入 dos charset = cp950 unix charset = cp950