redis: restrict /etc/redis permissions
It's not a good idea to have /etc/redis/redis.conf world-readable since it may contain sensitive informations like passwords.
This commit is contained in:
parent
b914d653bd
commit
1aaabd4370
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'redis'
|
||||
pkgname=redis
|
||||
version=7.0.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
make_build_args="V=1"
|
||||
make_check_target="test"
|
||||
|
@ -18,7 +18,9 @@ system_accounts="redis"
|
|||
redis_homedir="/var/lib/redis"
|
||||
conf_files="/etc/redis/redis.conf"
|
||||
|
||||
make_dirs="/var/lib/redis 0700 redis redis"
|
||||
make_dirs="
|
||||
/var/lib/redis 0700 redis redis
|
||||
/etc/redis 0750 root redis"
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
make_build_args+=" MALLOC=libc"
|
||||
|
|
Loading…
Reference in New Issue