On Sat, Oct 3, 2015 at 5:50 PM Thomas D. <whi...@whissi.de> wrote: > Hi, > > I want to use an own user for collectd (collectd) and rrdcached > (rrdcached). > > Therefore the user "collectd" is in group "rrdcached". > > I created "/srv/rrdcached{,/data,/journal}" with "chmod 2770" (user and > group is set to "rrdcached"). > > Collectd is able to create files in "/srv/rrdcached/data/*" but is > unable to update the created file: > > > Oct 3 23:20:45 collect0r collectd[32139]: rrdcached plugin: rrdc_update > (/srv/rrdcached/data/test1.example.org/load/load.rrd, > [1443907245:0.020000:0.100000:0.090000], 1) failed with status -1. > > That's because collectd created the file with mode 644. > > When changing permissions to 664 everything works. > > A recursive setfacl on /srv/rrdcached/data might work, something like:
setfacl -R -m d:u:collectd:rwX /srv/rrdcached/data Giovanni
_______________________________________________ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd