rrdcached: Fix permissions of the default socket.
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 21 Dec 2010 16:06:32 +0000 (16:06 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Tue, 21 Dec 2010 16:06:32 +0000 (16:06 +0000)
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/program@2152 a5681a0c-68f1-0310-ab6d-d61299d08faa


No differences found