-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/17/2013 02:13 PM, m.roth@xxxxxxxxx wrote: > Now that the US gov't is back, and so am I.... > > I'm trying to fix a server that was rebooted, and obviously a bunch of > stuff had the wrong context for some reason (I didn't set it up...) > > However: semanage fcontext -a -t httpd_sys_script_t > "/<pathtowebsite>/<website>/cgi-bin/(.*)?" /usr/sbin/semanage: Type > httpd_sys_script_t is invalid, must be a file or device type > > The same when I try semanage fcontext -a -t httpd_sys_script_t > "/<pathtowebsite>/<website>/cgi-bin/(.*)?.cgi" > > There are subdirectories, and other stuff, and I really want to change the > context only on what I want. However, that error message is utterly and > completely useless and meaningless. > > So: what do I need to do to fix the contexts? > > mark > > > -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx > https://admin.fedoraproject.org/mailman/listinfo/selinux > I wrote a blog on this. http://danwalsh.livejournal.com/67007.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJiWvEACgkQrlYvE4MpobO2/gCgoPx2dfeWS7AwY3o7BJFaZDLP 3VUAn1KuJOiRmGK2jrUzxu0vanxQ4ML7 =W66Z -----END PGP SIGNATURE----- -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/selinux