samba share but sub folders are not readable

You should set the filespermission for the diretory to 774.
chmod -R 774 your_directory

Then set the guest user in the [global] section and enable the share in smb.conf.

security = share  
guest account = nobody

Now create the share

[your_share]  
comment = your share access  
path = /path_to_share  
browseable = yes  
read only = yes  
guest ok = yes