Samba服务器共享文件夹无网络访问权限
我的虚拟机中是Ubuntu14.04,主机是win7.虚拟机中搭建了Samba服务器,设置了共享目录,可是我在主机端去访问该共享目录的时候报错说没有网络访问权限,selinux是关闭的,防火墙也是关掉的。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我的虚拟机中是Ubuntu14.04,主机是win7.虚拟机中搭建了Samba服务器,设置了共享目录,可是我在主机端去访问该共享目录的时候报错说没有网络访问权限,selinux是关闭的,防火墙也是关掉的。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
引用来自“sunrise程序员”的评论
这个问题我之前也搞过很久。
配置如下
guest account = nobody
security = user
server role = standalone server
unix password sync = yes
map to guest = Bad Password
usershare allow guests = yes
[shares]
path =/opt/shares
public = yes
guest ok = yes
guest only = yes
browseable = yes
directory mask = 2777
create mask = 0644
read only =no
writable = yes
引用来自“sunrise程序员”的评论
这个问题我之前也搞过很久。
配置如下
guest account = nobody
security = user
server role = standalone server
unix password sync = yes
map to guest = Bad Password
usershare allow guests = yes
[shares]
path =/opt/shares
public = yes
guest ok = yes
guest only = yes
browseable = yes
directory mask = 2777
create mask = 0644
read only =no
writable = yes
引用来自“sunrise程序员”的评论
这个问题我之前也搞过很久。
配置如下
guest account = nobody
security = user
server role = standalone server
unix password sync = yes
map to guest = Bad Password
usershare allow guests = yes
[shares]
path =/opt/shares
public = yes
guest ok = yes
guest only = yes
browseable = yes
directory mask = 2777
create mask = 0644
read only =no
writable = yes
引用来自“sunrise程序员”的评论
这个问题我之前也搞过很久。
配置如下
guest account = nobody
security = user
server role = standalone server
unix password sync = yes
map to guest = Bad Password
usershare allow guests = yes
[shares]
path =/opt/shares
public = yes
guest ok = yes
guest only = yes
browseable = yes
directory mask = 2777
create mask = 0644
read only =no
writable = yes
引用来自“sunrise程序员”的评论
这个问题我之前也搞过很久。
配置如下
guest account = nobody
security = user
server role = standalone server
unix password sync = yes
map to guest = Bad Password
usershare allow guests = yes
[shares]
path =/opt/shares
public = yes
guest ok = yes
guest only = yes
browseable = yes
directory mask = 2777
create mask = 0644
read only =no
writable = yes
这个问题我之前也搞过很久。
配置如下
guest account = nobody
security = user
server role = standalone server
unix password sync = yes
map to guest = Bad Password
usershare allow guests = yes
[shares]
path =/opt/shares
public = yes
guest ok = yes
guest only = yes
browseable = yes
directory mask = 2777
create mask = 0644
read only =no
writable = yes