我的系统是opensuse
修改/etc/samba/smb.conf
添加
[share]
comment = Shared Folder
path = /home/zengming/download/share
public = yes
writable = yes
create mask = 0700
directory mask = 0700
available = yes
browseable = yes
security = share
guest ok = Yes
usershare allow guests = Yes
read only = No
修改权限:
chmod 2777 /home/zengming/download/share
运行服务:
smbd
自己电脑或者另外的电脑的文件夹中访问smb://172.100.100.29/ 假设ip是172.100.100.29开了samba这样就可以看到share文件夹了。
如果不行,请关闭防火墙。
阅读(2613) | 评论(0) | 转发(0) |