Correct permissions and SELinux contexts when running make-repo script