I have set up my redis-server so that CONFIG GET dir --> "/var/lib/redis"
and CONFIG GET dbfilename --> "redis.rdb"
.
However, after my server has been running a few hours or a few days, I start getting the "Failed opening .rdb for saving: Permission denied"
error.
If I again do CONFIG GET dir --> "/var/spool/cron"
and CONFIG GET dbfilename --> "root"
. I have tried looking all over the place for some kind of understanding of what is happening, but without avail.
If I simply restart my redis-server, then the config is once again reset to the original settings that I set up in the "redis.conf" file.