Closed zedtux closed 2 years ago
To me the issue is in the block of code creating the configuration directory which doesn't sets the group
to redis
(at least for Ubuntu, probably Debian too), and it sets the permissions to 755
which doesn't allow redis
user to write: it should be 775
.
@zedtux please feel free to create a PR which fixes this.
:speaking_head: Foreword
Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.
:ghost: Brief Description
With the latest Redis version at least (6.2.6), when running this cookbook, I have 2 warning messages:
:pancakes: Cookbook version
6.1.0
:woman_cook: Chef-Infra Version
17.9.26
:tophat: Platform details
Ubuntu 20.04
Steps To Reproduce
Steps to reproduce the behavior:
:police_car: Expected behavior
The cookbook should set permissions of the
/etc/redis
directory so that theredis
user is allowed to write on files.:heavy_plus_sign: Additional context
Add any other context about the problem here. e.g. related issues or existing pull requests.