Sharing a Linux folder for windows access won’t be a hard task to do anymore with this tutorial,

First of all, let’s start by installing SAMBA, this software provides access to SMB/CIFS protocols used by Windows.

Once the SAMBA installation has completed we should configure a user and provide it a password that will be used in order to access the share.

Awesome, now that we have installed SAMBA and configured the user that is going to have access to the folder it is time to create the folder itself, it going to be called Share and will be under ~/Desktop/

It is time to use your favorite editor in order to modify the smb.conf file and provide the Windows access to the newly created folder, the file can be found under /etc/samba/samba.cnf

Go to the end of the file (if using VI/VIM, by pressing Shift+g it will take you to the last line), make sure to have the correct values configured:

Mine’s looks like this:

Do not forget to save the configuration. In VI/VIM a simple :x will do the job.

Restart the smbd service in order for the changes to take effect.

Back on our Windows machine, we can map the shared folder by creating a shortcut and pointing it to the network location of the share.

The syntax is:

Give it a beautiful name click on Finish.

There you go, you Linux’s shared folder is now accessible from your windows machine,

The first time you open the folder it will ask for credentials, use the one that you set for the shared access, jorluis-perales/password

Easy and simple, hope you find this helpful,