linux如何開smaba共享文件

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 ./

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章