]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
rrdcached: Fix permissions of the default socket.
authorTobias Oetiker <tobi@oetiker.ch>
Tue, 21 Dec 2010 16:06:32 +0000 (16:06 +0000)
committerTobias Oetiker <tobi@oetiker.ch>
Tue, 21 Dec 2010 16:06:32 +0000 (16:06 +0000)
commitd6557696a532c98ef629988b44e38a3274f1bae0
treebde9b70e51092fb6cb33d131f85d8ebb68cdc00d
parentb60fa48d92c52774c76baf96d0dc9e46a68b0ce8
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/branches/1.4/program@2152 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_daemon.c