On 12/12/20 11:18 AM, Bob S wrote:
Hi my dad and I are trying to share files over the home network from his Linux Opensuse 15.2 to my Windows 10 computer in another room. What is the simplest way to set this up? Thank you!
Late reply, but you have 2 options: 1) ensure sshd is running and then use windows tools like WinScp, etc... 2) start samba on the Linux box and then just use Windows Explorer to browse, copy, etc.. (you will be running samba in STANDALONE mode, not as a domain controller -- much simpler setup) With samba, you can simply map a drive in windows 10. So on Leap 15.2, if you setup say /home/shared as a shared folder, then to share that via samba, you would add a short section to the /etc/samba/smb.conf file, e.g. [shared] comment = %h - Files shared with Dad ; force group = somegroup inherit permissions = Yes path = /home/shared read only = No ; valid users = @somegroup The ; lines are commented out, but show an easy way to add additional permissions where you create a Linux group containing your and your dad's linux user names. 'force group' makes all files created there be owned by the common group. 'valid users' ensures only members of 'somegroup' can connect to the share. (you also use normal Linux file permissions to further tailor access) After doing this for 20+ years, were I in your shoes, I'd just setup samba and map the share to your E:\ drive in windows 10 so Dad could just know that the share files are on the E:\ drive (much easier to teach an old dog that trick) -- David C. Rankin, J.D.,P.E.