作者:电脑信息网日期:
返回目录:win7问题
[share]
comment = share
path = /home/share
browseable = yes
public = yes
writable = yes
create mask = 0777
查看共享目录百的权限,对应根目录下度的所有子目录和回文件,权限都先改答为777试试
这是linux上的samba服务文件复夹权限没有作设置,以redhat linux为例。制
1、设置文件夹权限,检测配置文件,假设在samba服务配置文件中设置的公知开目录为/home/samba/share。
搜索
chmod -R 0777 /home/samba/share
testparm
2、重启Samba服务即可解决道
service smb restart
问题不在windows上,是服务器设置的zd问题
vim /etc/samba/smb.conf
添加
[root]
comment = root
path = /
writable = yes
valid users = root
smbpasswd -a root (会提示输入密码专)
service smb restart
service iptables stop
chkconfig iptables off
echo "setenforce 0" >> /etc/rc.d/rc.local (关掉selinux, 也可以修改/etc/selinux/config,修改SELINUX=disabled后从起电脑属)
就可以了
有些是内核文件,你的知权限不够。道。。或者格式和windows下的格式版不一样就无法显示。。。。 # This one is user define directory Kingboys.
[northboy]
comment = Personl Directory
path = /home/northboy
read only = no
public = yes
writable = yes
还有用权smbpasswd -a 来添加用户和密码