Project

General

Profile

Actions

Bug #910

closed

make check fails w/o sudo/root privs

Added by Victor Julien over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Make check runs the unittests, some of which need access to the log directory. The log dir by default is /usr/local/var/log/suricata, which is not writable by a regular user.

Normally, when I test code from my src dir I run the tests as: "./src/suricata -u -l tmp/" where tmp is a dir I created in the code repo dir. This way there are no permission problems.

'make check' should not fail as non-root, so we can use a similar dir (maybe under qa/) or maybe we can create a temp dir under /tmp/

Actions

Also available in: Atom PDF