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