1) 檢查samba配置檔案 vim /etc/samba/smb.conf
[mnt] comment = samba share dir path = /mnt/ public = yes writable = yes /*對共享目錄有寫入屬性*/ browseable = yes
2) 設定 共享的路徑在linux内有寫入權限
chmod 666 /mnt/
3) 關閉selinux 編輯/etc/selinux/config
setenforce 0 #臨時關閉selinux 将 SELINUX=enforcing 改成 SELINUX=disabled #永久關閉,重新開機生效
