[CentOS] Samba HOWTO wiki bug: chcon samba_share_t

Fri May 4 23:05:54 UTC 2018
Warren Young <warren at etr-usa.com>

On May 4, 2018, at 4:11 PM, Louis Lagendijk <louis at fazant.net> wrote:
> The comment is correct: chcon will not survive a relabel. You need to
> update the database first (semanage fcontext) and then let a relabel
> apply the new context.

Alright, then why do I get that error when I give the command from this morning’s wiki text, and how do I avoid it?