H1, let’s see what you need to do when you want share files between windows and linux. There are mroe ways how you can do it, and one is to install and configure samba service on your server. After successfull installink you can conect trough file explorer to \\server-ip\path\to\folder or you can map this path to letter like disk for example S:. So let’s start:
You can create more users by following this seps if you need them.
Configuring Samba shares
1
sudo nano /etc/samba/smb.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[users]path= /samba/users
browseable= yes
readonly= no
force create mode=0660 force directory mode=2770 valid users= @sambashare @sadmin
[emma]path= /samba/maymeow
browseable= no
readonly= no
force create mode=0660 force directory mode=2770 valid users= maymeow @sadmin
Some notes
path path to share
browseable whether thw folder is listed or no in shares list. By setting to no users cannot see this share in list
read only whether the valid users have abilty to write to this folder.
force create mode permissions for newly created files
force directory mode permissions for newly created folders
valid users list of users that are allowed to acces this folder. one with @ prefix are groups