samba设置文件的读写权限
samba设置⽂件的读写权限打开配置⽂件
sudo pico /etc/f
[AA]
comment = AA
path = /samba/A
public = no
valid users = b02,b01,c01,a01,@A
半天不动 忽然一动
write list = @A
printable = no
[BB]
comment = BB本年利润结转分录
简单的租赁合同范本path = /samba/B
public = no
valid users = a01,c01,b01,@B
printable = no
write list = @B
[CC]
comment = CC集成显卡
path =  /samba/C
public = no
valid users = a01,b01,c01,@C
风平浪静打一城市名printable = no
10省人口现自然负增长
write list = @C
[public-readonly]
comment = public-readonly
path = /samba/public-readonly
public = yes
read only = yes
[share-rw]
comment = share-rw
path = /samba/share-rw
public = yes
writable = yes
#sudo chmod 1777 /samba/share-rw
置好了之后,建⽴知道的⽂件夹,然后开放⽂件夹权限。类似
sudo mkdir kkkk
sudo chmod 777 kkkk
chom ++777 +⽂件名.后缀
最后就得重新重启samba啦
最后就得重新重启samba啦

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。