現象:ubuntu下的home目錄建立了一個軟連接文件夾,連接到硬盤的其餘分區盤,將此文件夾經過samba共享到pc端,pc只有讀權限,沒有寫權限。即便切換到root用戶,修改文件夾權限爲777,pc端依舊無寫權限ubuntu
解決辦法:vim
1. vim /etc/samba/smb.conf服務器
2.在smb.conf中增長如下配置ide
# Allow users who've been granted usershare privileges to create # public shares, not just authenticated ones usershare allow guests = yes follow symlinks = yes wide links = yes unix extensions = no
3.保存後重啓samba服務器unix
sudo /etc/init.d/samba restartrest