-1

if you are see this question again, it means i am posting this again because nobady gave a replay to it

I need help to mount an network folder between Ubuntu 20.04 focal fossa (Home network server for me but using normal Ubuntu desktop) and my windows 10 version 1903. I don't know how to configure samba. I also followed lots of YouTube tutorials but nothing worked for me.

Is there is any way by which I can easily share a network folder between Windows (want to share my documents folder with Ubuntu) without complications?

1 Answers1

1

One simple way for LAN file sharing is SMB or Samba (my favorite) you can install this from the apt package manager with sudo apt-get install samba. If you already have samba installed than you can follow the Unix SE below and I've had this work on 20+ different linux machines.

and than for simple access I like to refer to this guide from a Unix SE answer How to create a Samba Share

Quote:

I recommend to create a dedicated user for that share and specify it in force user(see docs).

Create a user (shareuser for example) and set the owner of everything in the share folder to that user:

adduser --system shareuser

chown -R shareuser /path/to/share

Then add force user and permission mask settings in smb.conf:

[myshare] 
path = /path/to/share 
writeable = yes 
browseable = yes
public = yes 
create mask = 0644 
directory mask = 0755 
force user = shareuser 
Note that guest ok is a synonym for public.

Than it's as simple as connecting via file explorer in windows to the Linux's local ip address!

Gloat
  • 120