linux如何开smaba共享文件

試著忘記壹切 提交于 2020-03-12 03:50:33

1.执行 vi /etc/samba/smb.conf
2.将下面这句话加在最后:
[test]
comment = test's test folderr
path = /usr1/code
public = yes
writeable = yes
printable = no
create mask = 0765
3.执行service smb restart

最后一定要对路径附一下777权限就好了

chmod -R 777 ./

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!