After a fresh install of Samba I added these lines to the
[Media] comment = Media Folder path = /media valid users = @users force group = users create mask = 0660 directory mask = 0771 read only = no
And then I decided to add my "pi" account (the default account) to Samba using:
sudo smbpasswd -a pi
Everything worked, however, when connecting on windows, there were two extra folders appearing that I did not want shared. One was leading to the standard pi directory, and the other was for some printing service. I managed to disable the printing one by adding this to the
load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes
However, I cannot figure out how to disable the other "pi" directory (
/home/pi) from being shared.