我使用centos 7来安装共享网络文件夹(smth),然后我使用samba(ters)共享它(smth),但是其他计算机(windows或linux)将共享文件夹(ters)作为文件读取,所以我无法打开目录 供参考: / etc / fstab文件 //10.11.12.13/smth / smth cifs auto,rw,uid = 501,gid = 501,username = xxxx,password = xxxx,inode64 0 0
/smb.conf
[ters]
writeable = yes
path = /smth
follow symlinks = yes
wide links = yes
create mode = 0777
directory mode = 0777
Read as file, it should be folder instead
谢谢
答案 0 :(得分:0)
这里重要的是可浏览的设置:
[ters]
writeable = yes
browseable = yes
path = /smth
follow symlinks = yes
wide links = yes
create mode = 0777
directory mode = 0777
还要确保在更改后重新启动samba服务器(如果你是基于debian的,有两个服务要重新启动[smbd和nmbd])