Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] Check V2_key perms #5598

Merged
merged 4 commits into from
Oct 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions cfme/tests/distributed/test_appliance_file_permissions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import pytest

from cfme import test_requirements

pytestmark = [test_requirements.distributed]


@pytest.mark.tier(1)
def test_v2_key_permissions(appliance):
"""Verifies that the v2_key has proper permissions"""
stdout = appliance.ssh_client.run_command(
"stat --format '%a' /var/www/miq/vmdb/certs/v2_key").output
assert int(stdout) == 400