Open GoogleCodeExporter opened 9 years ago
It is recommended to use an instance per app, so why not run Redis as the same
user as the app?
Original comment by pcnoordh...@gmail.com
on 6 Mar 2011 at 3:32
There are 2 cases:
1) one instance per app, only one user need access to the socket
2) one instance per "project", web/ftp/ssh/syslog/own programm/.. adds data
into redis, web/.. has to read it (statistics/logs/data/..)
IMHO the only way to handle this two, is to have it configurable in redis.conf
It is a choice between security (configurable) and simplicity (default 777).
Original comment by nop...@gmail.com
on 6 Mar 2011 at 6:22
Problem is, on freebsd redis from ports is run from user "redis", so only root
can use it's socket by default.
Configurable access would definately be nice (with 777 default).
I think you can definetely set socket to 777 when tcp/ip on 127.0.0.1 is
enabled, as when it is - socket security doesn't matter as you can connect to
redis with loopback anyway. (not considering firewall on loopback interface)
Original comment by Glebu...@gmail.com
on 9 Mar 2011 at 2:25
Original issue reported on code.google.com by
Glebu...@gmail.com
on 3 Mar 2011 at 12:07