Commit 679ded34 authored by Josh Grancell's avatar Josh Grancell

Updated permissions for signatures. Fixes #13

parent 41715673
......@@ -198,8 +198,7 @@ function updater {
cat rfxn.hdb > "$SIGNATURES_DIRECTORY/rfxn.hdb"
cat rfxn.ndb > "$SIGNATURES_DIRECTORY/rfxn.ndb"
chown malscan:malscan "$SIGNATURES_DIRECTORY/rfxn.hdb"
chown malscan:malscan "$SIGNATURES_DIRECTORY/rfxn.ndb"
chown -R malscan:malscan "$SIGNATURES_DIRECTORY"
if [[ -s "$SIGNATURES_DIRECTORY/rfxn.hdb" && -s "$SIGNATURES_DIRECTORY/rfxn.ndb" ]]; then
if [[ "$SIGNATURE_CHANGE" -gt 0 ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment