I am trying to install and configure a redis
service on centos7
.
redis
tries to rewrite its configuration file from time to time with no success, so it throws the following error:
CONFIG REWRITE failed: Permission denied
the file exists in /etc/redis.conf
, and it's permissions are:
-rw-r--r--. 1 redis redis 46765 Jun 13 06:20 /etc/redis.conf
I even tried to change the permission to chmod 777 /etc/redis.conf
, and that did not fix the issue.
redis
runs under the user redis
.
How can I fix this?