This is an old revision of the document!
Configuring SMB Shares
on the linux box:
install samba:
sudo apt update sudo apt install samba
edit the config:
sudo nano /etc/samba/smb.conf
#============================ Share Definitions ============================== [sda1] path = /pathtoyourshare/yourdirectorytoshare writable = yes guest ok = yes guest only = yes read only = no create mode = 0777 directory mode = 0777 force user = nobody
restart services:
sudo service smbd restart
this is full read/write/execute and no user restrictions. to test, this is fine, so we can rule out permissions issues. once you mount from the windows side and verify everything works, you should go back and edit the samba config to reflect your needs (a specific user share, and maybe 0750 for example).
from the windows box:
Last modified: le 2022/03/01 17:49

Discussion