    def test_check_safe_path(self):
        ret = disk_api._join_and_check_path_within_fs('/foo', 'etc',
                                                      'something.conf')
        self.assertEquals(ret, '/foo/etc/something.conf')
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.