I just have Ubuntu server installed and i want a SMB server. So i got Samba all set up but now i wonder how to create a 'share', in Windows you would just go to Properties/Sharing/Advanced sharing, but i don't really know how to make one in Linux with Samba. I made a user with smbpasswd -a mylinuxusername, but that isnt the share name. Using net view \\myservername shows no shares at all, but i'm sure Samba is running.

Please explain the 'shares' in Samba.


You have to go to the configuration file with e.g. this command

nano /etc/samba/smb.conf

and then scroll down using the arrows of your keyboard.

You can create a simple share using the following lines:

     path = /srv/shares/exampleShare
     available = yes
     browseable = yes
     writeable = yes
     guest ok = no
  • Thanks! That solved it.You can accept this answer in 6 minutes :( – Sydcul Jan 3 '13 at 20:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.