author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 21 Dec 2010 16:06:32 +0000 (16:06 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 21 Dec 2010 16:06:32 +0000 (16:06 +0000) | ||
commit | c9b0e00b236fc4154d7ae88794e1de97a78cc8e8 | |
tree | efc0897463bc766dac69f8e0f5a0f58e7ee8b2e2 | tree | snapshot |
parent | bb764f4c4a058e882ea948d8cc9a7beed32d9789 | commit | diff |
rrdcached: Fix permissions of the default socket.
If neither the "-l" nor the "-P" options have been given, a UNIX domain
socket at a default location is created. However, due to a missing
initialization in this case, the "permissions" field will be left at
zero (no command allowed).
This patch fixes this problem by allowing all commands on the default
socket if no "-P" option is given. -- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2152 a5681a0c-68f1-0310-ab6d-d61299d08faa
If neither the "-l" nor the "-P" options have been given, a UNIX domain
socket at a default location is created. However, due to a missing
initialization in this case, the "permissions" field will be left at
zero (no command allowed).
This patch fixes this problem by allowing all commands on the default
socket if no "-P" option is given. -- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2152 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_daemon.c | diff | blob | history |