I want to share a folder on my Debian-host with a Windows-guest. To run the necessary Samba-server I installed the following packages on my host:
sambasamba-client
All I know right now is that I only need to add some additional lines with the correct input parameters to the file /etc/samba/smb.conf. I access the guest-VM via virt-manager. Now I found a few notes which state that virt-manager can configure the /etc/samba/smb.conf-file automatically.
Unfortunately I am not sure which command(s) I have to use.
Here is one command with -net user,smb=/absolute/path/to/folder \, but I get the error "Command not found".
Would it end in the same way like adapting the /etc/samba/smb.conf-file by myself?
- What do I have to type in this file at least?
- Which permissions does the exchange-folder require?
- How do I have to configure the Windows-guest for getting access to the mentioned folder (Windows-network is already working)?
Here is an example for the additional section in /etc/samba/smb.conf:
[qemu] path = /home/user/exchange comment = my shared folder guest ok = Yes inherit acls = Yes read only = No browseable = Yes