Ubuntu – How to setup a passwordless samba share on KDE

file-sharingkdesamba

I want to setup samba and have a folder share that is not protected by passwords, but open for anyone, read-only. what do i need to write on smb.conf?

Best Answer

Put this at the bottom of your smb.conf, replacing the path/to/share/point with the location of your shared directory.

[public]
        comment = Public Share
        path = /path/to/share/point
        read only = yes
        guest ok = yes

If it doesn't exist, do

sudo mkdir /path/to/share/point

Then do:

sudo service samba restart

and test.