https://github.com/jamesfreeman959/selinux-hands-on-labs/blob/018bcd3798242754a8fc9e10052832c656248f25/lab03-running-testprog-for-the-first-time/README.md?plain=1#L130 You should remove the additional sudo ;)