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'
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): therve/ projects/ Landscape/ client/ trunk/landscape /tests/ mocker. py", line 102, in test_method_wrapper 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 therve/ projects/ Landscape/ client/ trunk/landscape /sysinfo/ deployment. py", line 74, in setup_logging mkdir(landscape _dir) landscape'
File "/home/
result = test_method()
File "/home/
setup_logging()
File "/home/
os.
exceptions.OSError: [Errno 13] Permission denied: '/var/log/