Monday, January 18, 2016

Fix my Samba Share Issues

I was only able to see folders, no files, in my samba share.  This appears to be related to some SELinux issues.  I tested this by turning it off with:
#> setenforce 0

if the files appear, then it's a SELinux missing context. Enable SELinux again, then add context to folder:

#> setenforce 1
#> chcon -Rt samba_share_t <<directory of my share>>