With the help of SAMBA, it is very easy to share folder either from the command line or the GUI by right clicking on the folder and going to Sharing Options.
If this is the first time, than you would be asked to install SAMBA.
However there is a problem, NTFS partitions are not native for Ubuntu. To gain rights, change your /etc/fstab file to:
/dev/sda4 /media/Data ntfs defaults,umask=0022,uid=YourUID,gid=YourGID 0 0
You can know your UID and GID by running the following command:
Now mount all the changes you made to the /etc/fstab file by running the following command:
sudo mount -a
Finally open the SAMBA configuration file:
sudo gedit /etc/samba/smb.conf
Make the following changes:
[MyShare] comment = My Share path = /media/Data/FolderToBeShared browsable = yes guest ok = yes read only = yes create mask = 0755
Save and restart the service or reboot your machine.