How to share folders over the network in Xubuntu 18.04?
I work on Xubuntu laptop, others have installed Windows 7 and 10 on their machines.
Asked
Active
Viewed 4,116 times
1
kujaw
- 480
- 5
- 15
2 Answers
3
To share a folder in Samba
- Add User
sudo adduser <user-name> - create password
sudo smbpasswd -a <user-name> - Create share:
sudo -H gedit /etc/samba/smb.conf
Add the following to the end of smb.conf file
[<folder-name]
path = /path/to/folder
writeable = yes
browseable = yes
guest ok = no
close the file and run:
sudo systemctl restart smbd nmbd
Done.
Vijay
- 8,556
3
I found a solution here: https://ubuntuforums.org/showthread.php?t=1670223
sudo apt install samba system-config-sambaRun system-config-samba - just type
sudo system-config-sambain terminal.After running
sudo system-config-sambaI got an error "'SystemError: could not open configuration file /etc/libuser.conf: No such file or directory". Simple solution issudo touch /etc/libuser.conffound hereRun
sudo system-config-sambaagain.Create the share (choose File > Add Share, or click the plus icon):
- Directory = select directory to share
- Share name = share name
- Description = description
- Writable = to allow users to write to directory
- Visible = to make the share visible while browsing
- Access tab = select who should have access to the share
- In Thunar, access "Network" or "Browse Network" (on the bottom left)
I have to think a moment about my question, if I should edit it to be more precise and concrete.
Gord Thompson
- 1,040
kujaw
- 480
- 5
- 15