From: Sebastian Harl Date: Wed, 2 May 2007 06:08:54 +0000 (+0200) Subject: collectd.postinst: Set correct permissions for /var/lib/collectd/rrd/. X-Git-Tag: collectd-4.0.2-1~45^2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=444901f887d7d8520a349240c2bf3d36beb52f77;p=pkg-collectd.git collectd.postinst: Set correct permissions for /var/lib/collectd/rrd/. mktemp(1) creates the directory with permissions 0700 but we want to have 0755 after the data has been migrated. --- diff --git a/debian/collectd.postinst b/debian/collectd.postinst index b9b5b14..122068a 100755 --- a/debian/collectd.postinst +++ b/debian/collectd.postinst @@ -35,6 +35,7 @@ case "$1" in rm -rf /var/lib/collectd/ mkdir /var/lib/collectd/ mv $tmpdir /var/lib/collectd/rrd + chmod 0755 /var/lib/collectd/rrd fi ;;