[fix] Log directory fixes

* The playbook log dir is owned by the socore group, so we can use `su root socore`
* Addresses https://github.com/Security-Onion-Solutions/securityonion/pull/2681#issuecomment-767761670
---
* influxdb runs as root, so we can set the log directory permissions to 755 for this service
This commit is contained in:
William Wernert
2021-01-26 16:07:34 -05:00
parent 1939fe85d7
commit f5c044e3e3
3 changed files with 14 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ influxconfdir:
influxlogdir:
file.directory:
- name: /opt/so/log/influxdb
- dir_mode: 775
- dir_mode: 755
- user: 939
- group: 939
- makedirs: True