<def-group>
  <definition class="compliance" id="file_groupowner_man_pages" version="1">
    <metadata>
      <title>File Man Pages Group Owner</title>
      <affected family="unix">
        <platform>CentOS 4</platform>
		<platform>CentOS 5</platform>
		<platform>Red Hat Enterprise Linux 4</platform>
		<platform>Red Hat Enterprise Linux 5</platform>
      </affected>
      <description>Group owner for man pages must be root.</description>
    </metadata>
    <criteria>
      <criterion test_ref="test_file_groupowner_usr_share_man" />
      <criterion test_ref="test_file_groupowner_usr_share_info" />
      <criterion test_ref="test_file_groupowner_usr_share_infopage" />
    </criteria>
  </definition>

  <unix:file_test check="all" check_existence="any_exist" comment="Testing /usr/share/man/* group owner" id="test_file_groupowner_usr_share_man" version="1">
    <unix:object object_ref="object_file_groupowner_usr_share_man" />
    <unix:state state_ref="state_file_groupowner_man_pages" />
  </unix:file_test>
  <unix:file_object comment="/usr/share/man/*" id="object_file_groupowner_usr_share_man" version="1">
    <unix:path>/usr/share/man</unix:path>
    <unix:filename operation="pattern match">^.*$</unix:filename>
  </unix:file_object>

  <unix:file_test check="all" check_existence="any_exist" comment="Testing /usr/share/info/* group owner" id="test_file_groupowner_usr_share_info" version="1">
    <unix:object object_ref="object_file_groupowner_usr_share_info" />
    <unix:state state_ref="state_file_groupowner_man_pages" />
  </unix:file_test>
  <unix:file_object comment="/usr/share/info/*" id="object_file_groupowner_usr_share_info" version="1">
    <unix:path>/usr/share/info</unix:path>
    <unix:filename operation="pattern match">^.*$</unix:filename>
  </unix:file_object>

  <unix:file_test check="all" check_existence="any_exist" comment="Testing /usr/share/infopage/* group owner" id="test_file_groupowner_usr_share_infopage" version="1">
    <unix:object object_ref="object_file_groupowner_usr_share_infopage" />
    <unix:state state_ref="state_file_groupowner_man_pages" />
  </unix:file_test>
  <unix:file_object comment="/usr/share/infopage/*" id="object_file_groupowner_usr_share_infopage" version="1">
    <unix:path>/usr/share/infopage</unix:path>
    <unix:filename operation="pattern match">^.*$</unix:filename>
  </unix:file_object>

  <unix:file_state id="state_file_groupowner_man_pages" version="1">
    <unix:group_id datatype="int">0</unix:group_id>
  </unix:file_state>
</def-group>
