The config file must have read permissions after package installation

Description

After we install ProxySQL package 2.3.2-1.2, the created configuration file at /etc/config.toml does not have read permissions for "others" which causes the PSA script to fail as it is unable to read it.

Below steps were done to manually fix the problem

ls -lrt /etc/config.toml -rw-r-----. 1 root proxysql 4215 Jun 6 07:36 /etc/config.toml sudo chmod o+r /etc/config.toml ls -lrt /etc/config.toml -rw-r--r--. 1 root proxysql 4151 Jun  6 18:14 /etc/config.toml

As part of package installation, we need to make sure the config file has read permissions as shown in the last line.

Environment

None

Attachments

2
  • 08 Jun 2022, 09:47 AM
  • 08 Jun 2022, 09:36 AM

Smart Checklist

Activity

mohit.joshi June 14, 2022 at 11:24 AM

Bug fix verified on latest ProxySQL packages 2.3.2-1.2 

 

[vagrant@node1 ~]$  ls -lrt /etc/config.toml -rw-r--r--. 1 root proxysql 4320 Jun 14 05:31 /etc/config.toml
Done

Details

Assignee

Reporter

Components

Fix versions

Priority

Smart Checklist

Created June 7, 2022 at 5:13 AM
Updated March 6, 2024 at 5:29 PM
Resolved June 13, 2022 at 7:59 AM

Flag notifications