Skip to content

Commit

Permalink
Set 600 as default perms for proxysql.cnf
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Vyzas committed Aug 29, 2018
1 parent 6a99170 commit c00e6ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/images/proxysql/deb-compliant/ctl/proxysql.ctl
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ File: postinst
#!/bin/sh -e
if [ ! -d /var/lib/proxysql ]; then mkdir /var/lib/proxysql ; fi
update-rc.d proxysql defaults
chmod 600 /etc/proxysql.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ rm -rf /var/run/%{name}
%files
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}.cnf
%attr(600,root,root) %{_sysconfdir}/%{name}.cnf
%{_bindir}/*
%{_sysconfdir}/init.d/%{name}
/usr/share/proxysql/tools/proxysql_galera_checker.sh
Expand Down

0 comments on commit c00e6ef

Please sign in to comment.