mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-03 03:48:22 +00:00
fix: create missing directories for usbguard and setroubleshoot
This commit is contained in:
12
config/scripts/createmissingdirectories.sh
Normal file
12
config/scripts/createmissingdirectories.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2259249
|
||||
mkdir /var/log/usbguard
|
||||
|
||||
mkdir /var/lib/setroubleshoot
|
||||
chown setroubleshoot:setroubleshoot /var/lib/setroubleshoot
|
||||
chmod 600 /var/lib/setroubleshoot
|
||||
@@ -5,4 +5,5 @@ scripts:
|
||||
- disablesealertpopups.sh
|
||||
- homebrewanalyticsoptout.sh
|
||||
- hardencontainerpolicy.sh
|
||||
- httpsmirrors.sh
|
||||
- httpsmirrors.sh
|
||||
- createmissingdirectories.sh
|
||||
Reference in New Issue
Block a user