1) 检查samba配置文件 vim /etc/samba/smb.conf

[mnt]

comment = samba share dir

path = /mnt/


public = yes

writable = yes

browseable = yes

2) 设置 共享的路径在linux内有写入权限

chmod 666 /mnt/

3) 关闭selinux 编辑/etc/selinux/config

setenforce 0 #临时关闭selinux

将 SELINUX=enforcing 改成 SELINUX=disabled #永久关闭,重启生效

标签: mnt, ftp, yes, samba, 共享, selinux, 写入

相关文章推荐

添加新评论,含*的栏目为必填