linux系统文件共享samba配置教程

赋读写权限

sudo chmod 777 -R  /home/jeams/code

https://www.jb51.net/article/231757.htm

 

在share definitions字段中添加要共享的目录,如:
[public]
path = /public #共享目录的路径
public = yes #目录是公开的
guest ok = yes #允许匿名访问
create mode = 0666 #默认创建文件的权限
directory mode = 0777 #默认创建目录的权限
writable = yes #目录是可写的

posted @ 2023-10-27 18:28  微笑的''80  阅读(23)  评论(0)    收藏  举报