Add Samba File Server

apt install samba samba-common-bin
 nano /etc/samba/smb.conf
## Share
 
[Share]
 
comment = needs username and password to access
path = /physicalpathyouwant/toshare
browseable = yes
guest ok = no
writable = yes
valid users = @samba
sudo adduser 'user'
sudo smbpasswd -a 'user
sudo groupadd samba
sudo gpasswd -a 'user'; samba
sudo setfacl -R -m "g:samba:rwx" /physical/shared/file
sudo systemctl restart smbd nmbd