Error: Not enough permissions when sharing unix / linux directory in Windows using samba share.


It has been seen that many a times even after properly configuring the samba settings, we face many issues when trying to access any linux drive in windows.

This can easily be resolved by following 2 steps:
1) Set the enforce mode of SELInux to Permissive by command ‘setenforce PERMISSIVE’.
2) Disable Linux firewall by command ‘/etc/init.d/iptables stop’.

And voila! You would be able to access all drives of unix / linux in windows.