I edited my
/etc/samba/smb.conf file, and now my samba share is not accessible and the the
/var/log/samba/log.smbd is reporting a non-useful mkdir error. I have removed the changes I thought I made, but that did not help.
To restore a samba config to the original, I did the following:
- Download the image.
- Extract the image.
- Clone the image on to a flash drive:
sudo dd bs=4M if=retropie-4.3-rpi2_rpi3.img of=/dev/sdb conv=fsync
- Copy the file on the flashdrive to the Pi:
scp .../etc/samba/smb.conf firstname.lastname@example.org:/tmp/
- On the pi:
sudo mv /tmp/smb.conf /etc/samba/