I am setting up a samba share and two shares that are identical one is accessible and one is not. Wile looking into what might solve the problem I saw this command. I can not find what it does though.
What does "chcon -t samba_share_t /path/to/share" do?
To elaborate on this question why would I ever need to run this command on one share but not the other. Both shares were created the same, same user and same computer.