现象:ubuntu下的home目录创建了一个软链接文件夹,链接到硬盘的其他分区盘,将此文件夹通过samba共享到pc端,pc只有读权限,没有写权限。即使切换到root用户,修改文件夹权限为777,pc端依旧无写权限
解决办法:
1. vim /etc/samba/smb.conf
2.在smb.conf中增加以下配置
# 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服务器
sudo /etc/init.d/samba restart