samba 共享 window 分区的问题

上网、浏览、聊天、下载等
回复
debub
帖子: 289
注册时间: 2010-05-16 18:17

samba 共享 window 分区的问题

#1

帖子 debub » 2020-03-30 16:37

有一些 windows 分区的文件只是想临时共享,不想写进 smb.conf,有什么办法?
写进 smb.conf,是可以共享的。
home 分区的文件,直接在 dolphin 右键共享是可以的,但挂载的 windows 分区就不行,而且设置共享后重启 dolphin,设置就自动取消了。
跟挂载的权限选项有关吗?这是 fstab:

代码: 全选

UUID=B199DEC9DF0721FA /mnt/WinD ntfs-3g user,umask=000 0 0
smb.conf 是默认的没有更改。

代码: 全选

[global]
   workgroup = WORKGROUP
   dns proxy = no
   log file = /var/log/samba/%m.log
   max log size = 1000
   client min protocol = SMB2
   server role = standalone server
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
   pam password change = yes
   map to guest = Bad Password
   usershare allow guests = yes
   name resolve order = lmhosts bcast host wins
   security = user
   guest account = nobody
   usershare path = /var/lib/samba/usershare
   usershare max shares = 100
   usershare owner only = yes
   force create mode = 0070
   force directory mode = 0070

Intel G4560 + 8G DDR4
HD610 + GTX1050M
Windows10 + Manjaro kde
fuhuizn
帖子: 948
注册时间: 2006-01-06 22:55
系统: ubuntu
联系:

Re: samba 共享 window 分区的问题

#2

帖子 fuhuizn » 2020-04-04 20:54

可以用我这个局域网共享工具:https://gitee.com/rocket049/QtLanShare/releases
回复