samba 无法正确跟随符号链接

上网、浏览、聊天、下载等
回复
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

samba 无法正确跟随符号链接

#1

帖子 vickycq » 2015-10-02 11:33

192.168.1.150 smb.conf

代码: 全选

[global]
follow symlinks = yes
wide links = yes
[ftp]                                                                    
    path = /ftp                                                                                  
    read only = yes

代码: 全选

blah@192.168.1.150 ~ $ ln -s /home/blah /ftp/
blah@192.168.1.150 ~ $ ln -s /data /ftp/
blah@192.168.1.150 ~ $ ln -s /mnt /ftp/

代码: 全选

root@192.168.1.100 ~ $ mount.cifs \\\\192.168.1.150\\ftp /smbfs -o user=blah,uid=1000,gid=1000
发现 /smbfs 下的符号链接都指向本机 (192.168.1.100) 的/home/blah, /data 和 /mnt,而不是远程计算机 (192.168.1.150) 的。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: samba 无法正确跟随符号链接

#2

帖子 vickycq » 2015-10-02 11:36

代码: 全选

[global]
unix extensions = no
http://ubuntuforums.org/showthread.php? ... ost9275931
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
回复