Comment 2 for bug 268560

Revision history for this message
Thomas Herve (therve) wrote :

I have the following error:

[ERROR]: landscape.sysinfo.tests.test_deployment.RunTest.test_setup_logging_logs_to_var_log_if_run_as_root

Traceback (most recent call last):
  File "/home/therve/projects/Landscape/client/trunk/landscape/tests/mocker.py", line 102, in test_method_wrapper
    result = test_method()
  File "/home/therve/projects/Landscape/client/trunk/landscape/sysinfo/tests/test_deployment.py", line 219, in test_setup_logging_logs_to_var_log_if_run_as_root
    setup_logging()
  File "/home/therve/projects/Landscape/client/trunk/landscape/sysinfo/deployment.py", line 74, in setup_logging
    os.mkdir(landscape_dir)
exceptions.OSError: [Errno 13] Permission denied: '/var/log/landscape'