The curious case of missing directories from Apache
While putting together a automated cod-coverage tool for our project (using Cobertura ), I hit upon a very peculiar problem. The code-coverage reports were to be auto-triggered for every build of the IBM JDK and published for measuring our code coverage internally. It was observed that only certain directories were showing up on the web server while the others simply were not. After several trial and errors (changing path where the reports were shown, running as a different user id, etc) we were still unable to crack the source of the issue. What added more intrigue to all of this was the fact that if I create a new file manually, it would show up but not the one's triggered from the coverage tool. We ran through the httpd.conf to make sure that things were fine there and they were. Post several google searches, I stumbled upon this not so often used extension to the "ls" command "-Z". Documentation states -Z --context - print any SELinux security cont...