permissions changes

This commit is contained in:
Matthew Saunders Brown 2022-12-12 09:16:55 -08:00
parent 34f3572009
commit d08a3f77a9

View File

@ -38,7 +38,7 @@ systemctl start wp-cron.timer
if [[ -d /etc/fail2ban/ ]]; then if [[ -d /etc/fail2ban/ ]]; then
chmod 644 fail2ban/filter.d/* chmod 644 fail2ban/filter.d/*
cp -a fail2ban/filter.d/* /etc/fail2ban/filter.d/ cp -a fail2ban/filter.d/* /etc/fail2ban/filter.d/
chmod 644 etc/fail2ban/jail.d/* chmod 644 fail2ban/jail.d/*
cp -a fail2ban/jail.d/* /etc/fail2ban/jail.d/ cp -a fail2ban/jail.d/* /etc/fail2ban/jail.d/
systemctl restart fail2ban systemctl restart fail2ban
else else