How to allow remote SMB/CIFS access to /home/pi on the Raspberry Pi
First, install samba using
install_samba.sh
sudo apt -y install sambathen appendthe following to /etc/samba/smb.conf
smb.conf
[pi]
comment = pi
path = /home/pi
writeable = yes
browseable = yes
public = yes
create mask = 0644
directory mask = 0755
force user = piand finally restart samba:
restart_smbd.sh
sudo systemctl restart smbdNow your /home/pi will be accessible via SMB (including write access).
Check out similar posts by category:
Linux, Raspberry Pi
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow