    def test_check_unsafe_path(self):
        self.assertRaises(exception.Invalid,
                          disk_api._join_and_check_path_within_fs,
                          '/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.