samba/smb 可读不可写的问题

解:分享名不能与文件夹名一致(大小写不敏感),如
分享名为Music,在samba网络上为\\localhost\Music,在linux本机上是/home/music

Can read but cannot write to Samba share
Viewed 84k times
QuestionAnswer

赞成票 7 最佳答案
edited Apr 13, 2017 at 12:14

After hours of searching, I discovered that the share name and the share directory cannot be the same (and it's not case-sensitive, either). See this post on serverfault.
So, if I change my share name in smb.conf from:
[Music]
to
[Tunes]
I can both read and write to the share. No other changes to my smb.conf were necessary, and no need to chmod 0777.

posted @ 2024-12-01 17:47  Nolca  阅读(6)  评论(0编辑  收藏  举报