Commit 19eccad6 authored by Vitaly Lipatov's avatar Vitaly Lipatov

common: enforce settings permissions on upgrade

parent 3e0e0435
......@@ -62,6 +62,11 @@ Requires: fail2ban
%description fail2ban
Etersoft ban service.
%post common
if [ -f /etc/%name/settings.ini ]; then
chmod 600 /etc/%name/settings.ini
fi
%prep
%setup
......
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